Test Design

Choose what to test before writing a test: partition the input space into equivalence classes and take the boundary of each, enumerate the error paths nobody writes, cut a combinatorial explosion with pairwise selection, place every case at the unit, integration or no level at all, pin time, randomness, concurrency and I/O behind seams so the suite cannot go flaky, and keep tests that would catch a regression rather than ones pinning the implementation. Use it whenever someone asks "what should I test here", "are these tests any good", "how do I test this without it being flaky", or wants a failing test that reproduces a reported bug before the fix lands. Not for scoring an existing suite by injected faults (mutation-testing), a test already red in CI (ci-triage), a bug's cause (debugging), or restructuring code (refactoring).

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 2c502c654e

Frequently asked questions

npx get-skill add greenblacked/test-design