Skip to content

jasonshave/jason-toolkit

v2.1.0

Portable development, shipping, review, design and test-audit skills

prune-tests

Sweep a repository's test suites for tautological and other low-value tests (tests that mirror the implementation, assert what a mock was told to return, only check that something was called, render-without-crashing checks, tests of the framework or of a fake, duplicates of another test or an end-to-end journey, snapshot and exact-wording change-detectors, DTO/getter/constructor tests, legacy or compat paths nobody uses), prove each removal leaves no real behaviour unguarded, delete them on a branch and open a PR with before/after test counts and run times. Use this whenever the user complains about test bloat, slow or expensive CI caused by too many tests, "hundreds of pointless tests", tautological or change-detector tests, wants a test audit, cleanup, sweep or prune, or asks which tests are worth keeping, even if they don't say "prune".

Read SKILL.md at the source

Pinned to revision 408f482c1b3d, 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.