~/talk

Testing Spring Boot Applications Demystified

Talkat JCON EUROPE 2026 · 2026-04-20..04-23· [testing, java]
slides:none on file

Spring Boot projects ship a starter-test that actually includes JUnit, Mockito, AssertJ, JSONAssert/JSONPath, XMLUnit and Awaitility, so unit tests focus on logic while slice testing (e.g., @WebMvcTest, @DataJpaTest) verifies HTTP mappings, validation and security without a full context. Integration tests run real services via testcontainers and either MockMvc or a real servlet on a random port. Build time often halves by optimizing context caching (example: 26 → 12 minutes) and mutation testing with PIT reveals blind spots beyond code‑coverage.

AI-written summary · about

  1. 0:00Welcome and introduction
  2. 1:50Why automated testing matters
  3. 5:25Spring Boot testing overview
  4. 7:54Unit testing challenges
  5. 13:31Unit testing basics
  6. 16:46Unit test limitations
  7. 19:57Introducing slice testing
  8. 22:10Web layer slice testing
  9. 25:46Slice testing benefits
  10. 26:48Integration testing challenges
  11. 28:53Test containers for infrastructure
  12. 31:21Accessing application in tests
  13. 32:44Context caching amulet
  14. 38:00Optimizing context caching
  15. 40:13Test parallelization
  16. 43:02Mutation testing for quality
  17. 44:49Summary and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.