~/talk

Talk: Mutation testing for fun and profit - Improving the quality of your unit tests

Talkat Testing Stage 2023 · on Friday, 2023-04-21· [testing]
linkedin:basdijkstra
slides:none on file

Mutation testing uses PiTest to insert small code changes and run the unit suite against each mutant, exposing missing tests, dead code and weak boundaries. A simple bank account example shows removing dead code and adding a boundary test raises the project from 67% to 76% mutation score, kills a previously surviving boundary mutant killed and reveals untested transaction tracking. It warns mutation runs scale poorly so start small, focus on business logic, and prioritize mutants that indicate real behavioral gaps.

AI-written summary · about

  1. 0:00Introduction to mutation testing
  2. 2:37Problems with automated tests
  3. 10:54False positives and negatives
  4. 15:52Limitations of code coverage
  5. 20:50How mutation testing works
  6. 27:19Live demo with Pitest
  7. 36:16Improving test quality
  8. 43:12Conclusion and key takeaways
~/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.