Generates test plans, writes unit/integration/E2E test files, identifies coverage gaps, flags common testing anti-patterns. Use when writing tests, creating test suites, planning test strategies, mocking dependencies, measuring code coverage, or test planning.
69
84%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Mandatory: test in a real browser via the e2e-testing capability slot before marking any feature complete, including every project-defined responsive breakpoint (validation-gates Gate 3, browser-testing skill).
| Rule | Detail |
|---|---|
| One suite per session | never run all suites in one conversation |
| Max 3 screenshots | per session |
evaluate_script() over take_snapshot() | returns less data |
| Reload between flows | clears state |
| Log results | append to .opencastle/logs/e2e-results.md |
Suite files and project test config: .opencastle/project.instructions.md.
| Layer | Minimum |
|---|---|
| Unit (functions, components, hooks) | 95% |
| Integration (boundaries, URL sync) | all boundaries |
| E2E (journeys, interactions, errors) | all critical paths |
Verify with npx vitest run --coverage; E2E via npx playwright test.
fa0c341
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.