Mutation Testing at Scale
summary
Mutation testing evaluates real test effectiveness by mutating compiled code and rerunning tests rather than just reporting coverage. Uses an LLVM-based tool Mull operating on LLVM bitcode; applied to the fmt C++ library it generates 409 mutants and reports per-file scores (example: core.h shows 33% mutation score with 110 killed and 2 surviving mutants). It finds logic and formatting bugs that unit tests miss, requires recompiling dependencies with bitcode, uses caching to cut time (small runs ~20–30s, large projects can double build time).
AI-written summary · about
chapters (26)
- 0:00Start
- 1:40Quality Starts with Clean Code
- 3:03How Are You Doing Tdd Rigorously
- 3:30Anatomy of a Good Test
- 4:46What Is a Good Test Suite
- 5:14What Is the Average Time That You Wait for Your Test
- 5:55Potential Quality Metrics That You Want To Apply to a Test Suite
- 8:39The Oracle Problem
- 9:57Fault Based Testing
- 14:11Drawbacks
- 14:43Setting the Boundary of a Value Condition with Random Inputs
- 15:07Tools
- 20:03Mutation Score
- 20:51Mutation Testing
- 22:51Rational Operator Replacement
- 25:01Assessing the Error Propagation
- 26:39Mutation Testing on Llvm
- 27:07Supported Languages for Mutation Testing
- 33:15Remove Void Function
- 35:32Information Drawbacks
- 37:30Reports and Metrics
- 40:20Count the Bugs
- 41:59Cultural Changes
- 43:27Technical Challenges
- 46:37Pipeline Integration
- 48:18Be Inclusive
