~/talk

Testing Spring Boot Applications Demystified

Talkat Spring I/O 2026 · 2026-04-13..04-15· [testing, spring]
slides:none on file

Practical roadmap for testing Spring Boot apps that names actual tools and measurable wins: use Spring Boot Starter Test with JUnit 6, Mockito, AssertJ and utilities like JSONPath, XMLUnit and Awaitility; prefer slice tests (e.g. @WebMvcTest + MockMvc) to catch path mapping, bean validation and security issues; use Testcontainers (Postgres + Ryuk) for realistic integration tests; enable context caching to cut builds (example: 26 → 12 minutes); add Spring Test Profiler and PIT mutation testing to find weak tests; Spring Boot 4 adds context pausing and improved test clients.

AI-written summary · about

  1. 0:00Welcome
  2. 5:24Automated testing in AI era
  3. 10:04Unit testing with Spring Boot
  4. 21:27Slice testing web/persistence
  5. 29:29Integration testing challenges
  6. 31:18Testcontainers for external infra
  7. 37:38Faster tests with context caching
  8. 45:07Parallelizing tests
  9. 47:18Mutation testing for quality
  10. 49:24Summary
~/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.