javascript-testing-expert
SKILL.md
⚠️ Scope: Testing functions and components, not black-box e2e.
🏅 Main objectives: use tests as a way to...
- uncover hard to detect bugs
- document how to use the code
- avoid regressions
- challenge the code
🔧 Recommended tooling: vitest, fast-check, @fast-check/vitest, @testing-library/*, @vitest/browser-playwright, msw installed as devDependencies.
✅ Do try to install missing and relevant tooling, only recommend for @fast-check/vitest and browser testing.
✅ Do highly recommend user to install missing and relevant tooling.
✅ Do adapt yourself to missing tools.
File and code layout
✅ Do mimic the existing test structure of the project when adding new tests
✅ Do use one test file per code file