test-repair
Repair tests that a test audit found weak, flaky, pinned to one implementation, or suspicious, with proof for every change: a surviving mutant that now dies, a revert that now goes red, or a shuffled run that now agrees. Use after a test audit when the user approves findings, or when asked to "fix these tests", "strengthen the assertions", "make this test actually test something", "un-mock this", or "fix the flaky tests". Never silently changes what a test asserts; tests that enforce suspicious behavior are escalated, not rewritten.
Pinned to revision 498ffffc35e2, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.