react-testing-standards
Installation
SKILL.md
React Testing Standards
Testing Philosophy
Guiding Principles
- Test user behavior, not implementation details
- Tests should resemble how users interact with your app
- Query by accessible roles and labels, not test IDs
- Integration tests over unit tests when practical
- Test the component contract, not internal state