GuideTechnology
12 min read
Testing Spring Boot Applications: Slice Tests, MockMvc, Real Databases and the Test Pyramid
Turn the tests from the earlier articles into a strategy: unit tests, slice tests (@WebMvcTest, @DataJpaTest, @JsonTest), full integration tests on a real PostgreSQL, measured run times, coverage with JaCoCo, and a mutation experiment that shows which tests really protect you.

