~/talk

Mutants to the rescue: How effective are your unit tests?

Talkat Infoshare F3 2022 · on Thursday, 2022-05-19· [testing, developer-experience]
slides:none on file

Shows that 100% code coverage can hide useless tests by example: a ProposalService with three unit tests reaches 100% coverage while mutation testing finds 0 mutants killed, proving assertions are missing. Recommends Java tooling: JaCoCo for coverage, PIT (and Stryker for other languages) for mutation analysis, Maven plugins and Sonar integration, and practices like incremental analysis, multithreading and excluding generated or slow DB tests. Notes timeouts (default 1.5× original test time) and equivalent-mutant limits.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:46What is software quality?
  3. 4:14Why write unit tests?
  4. 8:47Limitations of code coverage
  5. 13:25Introducing mutation testing
  6. 18:00Mutation testing tools
  7. 20:26Live demo of mutation testing
  8. 26:02Optimizing mutation testing
  9. 33:41When to use mutation testing
  10. 36:51Summary and tools overview
~/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.