testing-automation - Automate testing for Next.js applications
Provides patterns for unit, integration, component, and E2E testing with Vitest and Playwright, including setup, debugging, and coverage reporting.
Tags
Updated: 2026-11-29Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Set up Vitest testing
- Configure Playwright tests
- Write unit tests
- Write integration tests
- Write component tests
- Write E2E tests
- Mock dependencies
- Debug test failures
- Generate coverage reports
Inputs
- Next.js project
- Test requirements
- Application source code
- Test failure output
- Testing configuration
Outputs
- Test files
- Testing configuration files
- Package scripts
- Test results
- Coverage reports
Requirements
- Next.js 16 application
- pnpm package manager
- Vitest support
- Playwright support
