testing
Writes and reviews automated tests in any language and makes code testable, using Clean Code, The Pragmatic Programmer, Refactoring and Clean Architecture plus common practice on test doubles and legacy code. Use whenever someone adds behavior that needs tests, asks what to test, works with mocks or integration tests, has code without tests, a brittle, slow or flaky suite, or asks about TDD or coverage, even if they only say "probá que esto ande". Covers "escribí tests para esto", "qué debería testear", "este test es frágil", "cómo testeo esto" and "conviene TDD". For a failure with an unknown cause use debugging. Not for load testing or test infrastructure setup.
Pinned to revision 15e0e74e186c, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/testing/SKILL.md
- skills/testing/evals/characterize-legacy-fee/case.yaml
- skills/testing/evals/characterize-legacy-fee/files/fees.py
- skills/testing/evals/characterize-legacy-fee/graders/01-critical-characterize.md
- skills/testing/evals/characterize-legacy-fee/graders/02-change.md
- skills/testing/evals/characterize-legacy-fee/graders/03-odd.md
- skills/testing/evals/characterize-legacy-fee/graders/04-boundary.md
- skills/testing/evals/characterize-legacy-fee/graders/05-ran.md
- skills/testing/evals/characterize-legacy-fee/prompt.md
- skills/testing/evals/test-trial-status/case.yaml
- skills/testing/evals/test-trial-status/files/trial.py
- skills/testing/evals/test-trial-status/graders/01-critical-time.md
- skills/testing/evals/test-trial-status/graders/02-boundary.md
- skills/testing/evals/test-trial-status/graders/03-minimal-change.md
- skills/testing/evals/test-trial-status/graders/04-names.md
- skills/testing/evals/test-trial-status/graders/05-ran.md
- skills/testing/evals/test-trial-status/graders/06-no-mirror.md
- skills/testing/evals/test-trial-status/prompt.md
- skills/testing/references/legacy-and-flaky.md
- skills/testing/references/test-doubles-and-levels.md
- skills/testing/references/testable-code.md
- skills/testing/references/writing-tests.md
Every link opens the file at its source, pinned to the revision this page describes.