Kill All Mutants! (Introduction to Mutation Testing)
summary
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
chapters (9)
- 0:00Start
- 0:30Mutation Testing
- 2:34Incremental Mode
- 3:57What Does Mutation Testing Actually Do
- 6:57Killing the Mutant
- 8:25Technical Details
- 12:10Examples
- 20:09Summarize Mutation Testing
- 21:24Shoutouts
related talks
50mKill All Mutants! Intro to Mutation Testing
47mKill All Mutants! (Intro to Mutation Testing)
52mKill All Mutants! (Intro to Mutation Testing)
01h 06mKill All Mutants! (Intro to Mutation Testing)
35mKill All Mutants! (Intro to Mutation Testing)
21mKill All Mutants! (Intro to Mutation Testing)
39mKill All Mutants! (Intro to Mutation Testing)
29mKill All Mutants! (Intro to Mutation Testing)
