~/talk

Julius Mischok: Test Your Tests!

Talkat TestCon Europe 2024 · 2024-10-22..10-25· [testing, developer-experience]
links:none on file
slides:none on file

Shows how to use PIT mutation testing with Java and JaCoCo for coverage to measure real test quality by injecting faults and checking which tests fail. Demonstrates refactoring a list filter to streams while 100% line coverage hides a surviving conditional boundary mutation; common mutators include empty returns mutator and negate conditionals. Notes practical numbers: a 100-test suite that runs in 45s can take ~30 minutes for a full PIT run, so use history, fix flaky tests, and run mutation tests on a schedule.

AI-written summary · about

  1. 0:00Introduction
  2. 2:19Mutation testing improves quality
  3. 9:15Code coverage limits and risks
  4. 12:49Mutation testing concept
  5. 17:06Common PIT mutators
  6. 23:15Running PIT and reports
  7. 27:23Common pitfalls with mutation testing
  8. 31:18PIT usage tips
  9. 37:02PIT in workflows
  10. 38:28Q&A: Other languages
  11. 41:03Q&A: Test quality
~/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.