Most enterprise applications rely on the database as the persistence mechanism. Integration tests for these applications require data in the database to run correctly. For integration tests to be ...
In this example I will show how you can perform a standard Maven build whilst keeping your unit and integration tests in separate packages. Other techniques specify using either a naming convention or ...
This example shows how to split unit and integration tests using Maven and JUnit categories. It is especially useful for existing test suites and can be implemented in minutes. This has been a very ...