~/talk

Learnings From Netflix To Effective Testing With Spring Boot

Talkat SpringOne 2024 · 2024-08-26..08-28· [testing, java]
slides:none on file

Unit tests that only mock Spring annotations miss framework wiring and schema mismatches, while full startup smoke tests catch DI and schema errors but cost 10–30+ seconds. The recommended middle ground boots only listed components with @SpringBootTest with classes and reusable DGS test slice, mocks for slow externals like OpenAI, and real databases via Testcontainers Cloud. Netflix targets 95% of tests as fast slice-based integration tests, one HTTP smoke test, and selective unit tests.

AI-written summary · about

  1. 0:00Introduction to Netflix testing
  2. 2:22Application architecture overview
  3. 4:10Demo: Code walkthrough
  4. 7:34Unit testing limitations
  5. 12:38Smoke testing approaches
  6. 20:05Efficient integration testing
  7. 30:03Testing with Testcontainers
  8. 39:54Testing strategies and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.