Skip to content

Releases: tacianosilva/designtests

v-1.0.1: This version contains design rules for the Hibernate framework of the

21 Mar 18:42
Compare
Choose a tag to compare

This version contains design rules for the Hibernate framework of the
recommendations present in its documentation.

In this version, It was added to check for methods like isField(). The
isField() methods are used as getMethods for boolean fields. We added
this functionality in ProvideGetsSetsFieldsRule class.

Desing Tests - version 1.0.0

25 Feb 14:46
Compare
Choose a tag to compare

This version contains design rules for the Hibernate framework of the
recommendations present in its documentation. Following is the list of
design rules in the package br.edu.ufcg.splab.designtests.designrules:

  • HashCodeAndEqualsNotUseIdentifierPropertyRule.java
  • HashCodeAndEqualsRule.java
  • ImplementsSerializableRule.java
  • NoArgumentConstructorRule.java
  • NoFinalClassRule.java
  • ProvideGetsSetsFieldsRule.java
  • ProvideIdentifierPropertyRule.java
  • UseInterfaceSetOrListRule.java
  • UseListCollectionRule.java
  • UseSetCollectionRule.java

There are two examples of unit test classes to check the rules. The unit
tests using the test frameworks JUnit and TestNG. Following is the list
of design tests examplos:

  • tests.br.edu.ufcg.splab.designtests.examples.junit.HibernateDesignTests.java
  • tests.br.edu.ufcg.splab.designtests.examples.testng.HibernateDesignTests.java