Spock vs. Supermutants: Specification Testing Meets Mutation Testing
summary
Shows how the Spock testing framework (Groovy-based BDD) can be combined with mutation testing to improve test quality: Spock produces readable, AsciiDoc-capable reports and high line coverage, while mutation testing injects code mutations and runs the test suite to measure how many mutants are killed, yielding a percentage that indicates test effectiveness.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 0:48What is Spock?
- 14:37Find the Bug?
- 17:05Targeted Fault Injection
- 19:22How Mutation Testing Works
- 22:39Default Mutators
- 27:03Equivalent Mutations
- 30:10Why PIT?
related talks
01h 12mUnit Tests as a Specification
49mWhat Mr. Spock would possibly say about modern unit testing
47mSpock vs JUnit 5 - Clash of the Titans
29mWhy I prefer Spock over JUnit
51mSpock Framework: The Ultimate Framework for Testing Your Java Applications
18mSpeedup unit testing with the Spock framework
42mSpock vs JUnit 5 - Clash of the Titans
35mThe Groovy Way of Testing with Spock
