~/talk

Kill All Mutants! (Intro to Mutation Testing)

Talkat NDC Sydney 2020 · 2020-08-31..09-03· [testing]
slides:none on file

Explains mutation testing by making tiny code variants and running unit tests to see which variants are killed (cause failures) and which survive, with concrete examples: a power function where + and * mutants survive until targeted inputs are added, and a send_message loop where removing the loop survives, revealing redundant code. Claims tooling exists for Python, Ruby, JS, Java, C++, C#, LLVM languages; warns about CPU cost (example: ~1,000 mutants/function → ~17 minutes vs 10s) and common two‑thirds reductions.

AI-written summary · about

  1. 0:00Intro
  2. 1:20Expectations
  3. 3:20Mutation Testing Qualities
  4. 4:20Mutation Testing Positives
  5. 4:50Mutation Testing Negatives
  6. 7:45How Does Mutation Testing Work
  7. 9:00SpiderMan
  8. 21:00Examples
  9. 23:30Surviving Mutants
  10. 24:30Kill Mutants
  11. 27:00Complex Example
  12. 28:30While Loop Once
  13. 29:00Not Testing
  14. 31:30Pseudocode
  15. 32:00Frequently Asked Questions
  16. 33:00Why is it so CPU intensive
  17. 33:30Unit tests
  18. 34:00Mutation testing
  19. 34:30Trimming down mutants
  20. 35:00Why change mutants in one way
  21. 35:30Swapping mutants
  22. 36:00Multiple mutations
  23. 37:00Individual tests
  24. 38:00All tests
  25. 38:30Summary
  26. 39:00Mutation Testing Tools
  27. 40:30Mutant
  28. 41:30Fails
  29. 43:00When
  30. 45:00Mutation Testing Report
  31. 46:00Switching Rooms
  32. 46:30From the Beginning
  33. 47:00Create Meaningful Tests
  34. 47:30Toy Project
  35. 48:00Test Coverage
  36. 50:30More Questions
  37. 51:30Outro
~/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.