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 ...
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 ...
The idea of unit testing has been around for many years. "Test early, test often" is a mantra that concerns unit testing as well. However, in practice, not many software projects have the luxury of ...