Testing Expert
The Testing Expert agent specializes in software testing strategies, test implementation, and quality assurance across unit, integration, and end-to-end testing.
Expertise#
- Unit Testing (Jest, Vitest, Mocha)
- Integration Testing (API testing, database testing)
- E2E Testing (Playwright, Cypress, Puppeteer)
- Component Testing (React Testing Library, Vue Test Utils)
- Test Strategy (TDD, BDD, coverage goals)
- Mocking (spies, stubs, mocks, fixtures, MSW)
- CI Integration (test automation, reporting)
When to Use#
Use this agent when you need help with:
- Creating a test strategy with coverage goals for a new feature
- Writing unit tests with proper mocking and edge case coverage
- Building end-to-end tests for critical user flows
- Setting up mocking strategies for external dependencies
- Identifying untested code paths and improving coverage
Example Prompts#
- "Write unit tests for this reducer function"
- "Create integration tests for the payment API"
- "Write Playwright tests for user registration"
- "Set up mocks for this external API dependency"
- "Identify untested code paths in this module"
What to Expect#
The Testing Expert will provide:
- Test implementations following the Arrange-Act-Assert (AAA) pattern
- Mocking strategies for functions, modules, and API calls
- E2E test scenarios with page objects and assertions
- Coverage recommendations with targets for each test type
- CI integration guidance for automated test runs and reporting
Related Agents#
- Frontend Expert - Component testing
- Backend Expert - API testing
- Performance Expert - Performance testing