Spring Boot + Gradle : Name based test separation
This example illustrates a simple approach to partition your tests into unit tests and integration tests.
- allows you to keep all tests in the same source directory
- is name based: integration tests are suffixed with
- uses Gradle to partition the tests using include/exclude name filters
Running unit tests
Running integration tests