testing-best-practices - Testing Best Practices Guide
Write tests following AAA pattern, proper naming, and mocking strategies
Tags
Updated: 2026-03-22Capabilities
Typical Inputs
Typical Outputs
What this skill does
- write tests
- structure tests
- name tests
- organize tests
- create assertions
- mock dependencies
- reset mocks
- test async operations
Inputs
- source code files
- test files
- external APIs
- database
- email service
- test data
Outputs
- test files
- test coverage reports
Requirements
- JavaScript or TypeScript environment
- testing framework (Jest or Vitest)
- mock implementation support
- async/await support
