Test Order Bisect

Find the polluter behind a test that passes alone and fails in the full suite, then remove the leak rather than the symptom: replay the failing order from its recorded random seed, delta-debug the tests that ran before the victim by halving until one polluter and one victim remain, name the shared state it leaked (a global, env var, temp file, port, database row, clock or patch left in place), isolate that state instead of pinning the order, and add a randomised-order CI job so it cannot return. Use when someone says "passes on its own, fails in the whole suite", "only breaks after the auth tests run", "pytest-randomly turned the build red" or "go test -shuffle found a failure". Not for a flaky browser suite (e2e-testing), classifying a red pipeline (ci-triage), a product bug with no order dependence (debugging), or a flake ledger across many runs (test-history-reader).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 5b08ab3d86

Frequently asked questions

npx get-skill add greenblacked/test-order-bisect