test-best-pratice
Installation
SKILL.md
test-best-pratice
Goal
Write tests with a high signal-to-noise ratio:
- Fail when something is actually wrong, and do not fail randomly when nothing is wrong.
- Make it easy to locate the cause after a failure.
- Require minimal changes when internal implementation is refactored.
- Run fast enough for daily development and CI.
- Stay maintainable over time instead of becoming team overhead.
This skill is not tied to any specific framework. It can be used for unit tests, integration tests, API tests, component tests, and end-to-end tests.