Spring Boot + Gradle : Different source directories based test separation
This example illustrates a simple approach to partition your tests into unit tests and integration tests.
- expects unit tests to be placed in the source directory
- expects integration tests to be placed in the source directory
- uses Gradle to honor the test directory separation
Running unit tests
Running integration tests