~/talk

The Joy of Testing

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [testing]
slides:none on file

Argues tests must prove behavior, not inflate numbers: shows managers demanding 80% coverage and how line vs branch coverage differs, demos AI that blindly achieves 100% branch coverage but yields useless tests, and runs PIT mutation testing to find a surviving mutant that exposes gaps. Covers ObjectMother/test-data factories, AssertJ over assertEquals, JUnit 5 extensions to mock LocalDate, parameterized and nested fixtures, Gherkin/Cucumber features, and Golden‑Master/characterization testing used to safely refactor a 35,000‑line class.

AI-written summary · about

  1. 0:00Introduction and mindset shift
  2. 1:08Why write tests
  3. 4:45Speaker background and testing basics
  4. 7:38Coverage myths and realities
  5. 10:11Branch coverage and AI demo
  6. 16:10Mutation testing explained
  7. 22:17Fixing bugs ethically with tests
  8. 30:26Test naming and expressiveness
  9. 43:40AssertJ vs traditional assertions
  10. 1:00:32Mocking time and Christmas demo
  11. 1:12:38Break and Q&A
  12. 1:27:43Parameterized tests deep dive
  13. 1:42:28Legacy code testing techniques
  14. 2:05:16Behavior-driven development with Cucumber
  15. 2:27:21Domain-specific testing languages
  16. 2:35:50Hierarchical test fixtures in JUnit
  17. 2:40:52Recap and closing remarks
~/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.