Mutation Testing with Mutant
summary
Mutation testing using Mutant runs your existing RSpec specs against many tiny code changes and reports which mutations survive; an example run produces 82 of 83 mutants killed, leaving one surviving mutant. The demo adds SimpleCov to show 100% line coverage yet still finds the surviving mutation, then writes a targeted spec (zero tolerance / edge-of-range case) and re-runs Mutant to kill the last mutant and make the test suite truly stricter.
AI-written summary · about
chapters (11)
- 0:00Start
- 1:45Editor
- 3:29Interactive Debugger
- 4:58Testing
- 6:42Code Coverage
- 8:07Mutation Testing
- 8:20Mutation Testing Is a Tool
- 11:42Types of Mutations
- 13:08Live Coding
- 31:00Mutant Command Line
- 34:09Mutation Output
related talks
37mHow to Write Better Code Using Mutation Testing
50mKill All Mutants! Intro to Mutation Testing
22mKill All Mutants! (Introduction to Mutation Testing)
01h 00mKill Evil Mutants!
47mKill All Mutants! (Intro to Mutation Testing)
07mWho is Testing the Tests?
01h 06mKill All Mutants! (Intro to Mutation Testing)
36mMutation Testing: Did my test break my code ? 🤔
