nextjs-unit-test-creator - Generate tests for Next.js 16 applications
Analyzes Next.js 16 codebases, detects testing frameworks, generates framework-specific unit or E2E scenarios, and verifies test execution.
Tags
Updated: 2026-11-29Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Analyze Next.js source code
- Detect installed test frameworks
- Generate component test scenarios
- Generate hook test scenarios
- Generate API route tests
- Generate Server Action tests
- Generate Playwright E2E tests
- Request scenario confirmation
- Delegate core test generation
- Verify generated tests execute
Inputs
- Next.js source files
- package.json
- Test configuration
- Git repository state
- User scenario confirmation
- E2E testing request
Outputs
- Generated test files
- Displayed test scenarios
- Test execution results
- Test validation status
Requirements
- OpenCode compatibility
- Next.js project
- package.json file
- Installed test framework
- Source file permissions
- Test file creation permissions
- Playwright installation for E2E tests
