Skip to content

Desing Tests - version 1.0.0

Compare
Choose a tag to compare
@tacianosilva tacianosilva released this 25 Feb 14:46
· 24 commits to master since this release

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