~/talk

Kill All Mutants! (Intro to Mutation Testing)

Talkat XtremePython 2023 · 2023-12-05..12-06· [testing, developer-experience]
slides:none on file

Mutation testing mutates functions into many mutants and runs the test suite against each one, measuring killed vs survived to surface weak tests or redundant code. The tool generates operator swaps, constant returns, loop removals; a surviving mutant for send_message reveals either missing large-message tests or a redundant loop that can be removed. It's CPU intensive but practical with incremental mode and CI gating. History notes tools for Python and others; expect interpretation work after results and some false alarms.

AI-written summary · about

  1. 0:00Introduction to mutation
  2. 1:34Benefits of the technique
  3. 2:50Drawbacks and challenges
  4. 4:35How mutation testing works
  5. 6:05Life cycle of a mutant
  6. 8:15Technical implementation
  7. 10:19Practical code examples
  8. 14:40Advanced scenario analysis
  9. 18:33History and best practices
~/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.