testprune

command
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 23 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL