#gyntools-test
##Description Setup tests made easy
##Usage
- Create a new integration tests class extending AbstractDatabaseIntegrationTester
Example:
@Test
public class DatabaseIntegrationTesterBuilderIT extends AbstractDatabaseIntegrationTester {
//ommited
}
- Use the builder
Example:
@Test
public void shouldBuildWithDB(){
DatabaseIntegrationTesterBuilder helper = DatabaseIntegrationTesterBuilder.of(this).withDB(persistenceUnitName);
assertNotNull(this.getEntityManager());
logger.info(this.getEntityManager().toString());
}
Usage:
Create a new unit tests class extending AbstractBaseUnitTest