Documentation
¶
Overview ¶
Command testprune inventories and classifies PiG's tests, measures the coverage a deletion batch would lose, and enforces the provenance ratchet for golden files and for expectations edited together with the code they test.
testprune inventory [-out dir] classify every Go test function testprune history [-out dir] find expectations edited in the same commit as code testprune lint -base REV [-head REV] fail on undeclared goldens and unjustified co-edited expectations testprune coverdiff -pkg P -skip RE prove a deletion batch loses no coverage testprune redundant -pkg P list tests whose coverage other tests repeat testprune mutate -pkg P -out FILE run sampled mutants against the suite testprune mutcompare BEFORE AFTER fail when pruning left a killed mutant alive
Click to show internal directories.
Click to hide internal directories.