Testing that bites
Coverage, assertion quality, mutation testing, stories and real sandboxes
A test suite written by an agent tends to be large and soft. It runs every line and checks very little. These pages cover the layers that make tests prove something: coverage as a floor, assertion checks as a filter, mutation testing as the proof, and real-world runs for the parts no mock can stand in for.
-
Cucumber acceptance specs
User stories in plain words, with exact assertions underneath
-
100% test coverage
Every line and every branch, deterministic, with no new exclusions
-
Fault injection and crash windows
Real failures at the database boundary, for every await between two writes
-
Mutation testing
Change the code on purpose, and check that a test notices
-
Nightly runs against real endpoints
Real browsers, real payment sandboxes, real email APIs, every night
-
Test quality gates
Block the assertions that pass for almost any bug