Skip to main content

Testing

About 89 tests under src/test/java/com/splick/auth (API, use cases, infrastructure). They are unit and slice tests. This module does not use Testcontainers.

From splick-backend:

./gradlew :services:auth-service:test

Add a use-case test when you change a business rule. Add a migration test when you change Flyway SQL. Contract changes belong in OpenAPI and a client test, not only a controller unit test.