~/talk

Kill All Mutants! (Introduction to Mutation Testing)

Talkat JSConf Hawaiʻi 2020 · 2020-02-05..02-07· [testing]
slides:none on file

Mutation testing claims to expose weak tests and meaningless code by generating tiny code variants and running the unit suite against each one. The JS tool mentioned is Stryker. Examples show surprises: a plus/ multiply swap and argument-swapped exponent mutants produce four surviving mutants for a power function until tests use different inputs, and a loop-deletion mutant survives when tests only exercise a single-chunk message. Costs: CPU-heavy but incremental modes help; fixes are concrete — add targeted inputs or remove redundant logic.

AI-written summary · about

  1. 0:00Start
  2. 0:30Mutation Testing
  3. 2:34Incremental Mode
  4. 3:57What Does Mutation Testing Actually Do
  5. 6:57Killing the Mutant
  6. 8:25Technical Details
  7. 12:10Examples
  8. 20:09Summarize Mutation Testing
  9. 21:24Shoutouts
~/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.