Test Author Gate
Bias toward tests that mirror real behavior. Separate what belongs in unit, integration, and e2e layers, and encode coverage plus flake controls as explicit gates.
Workflow
- Write a testing strategy by level and justify what belongs in each layer.
- Provide representative unit, integration, and e2e coverage targets for the feature.
- Define coverage thresholds and CI behavior for failures.
- Specify anti-flake controls such as actionability, retries, and tracing policy.
Inputs
- Feature under test
- Risk areas
- Test levels required
Deliverables
- JSON with
strategy,tests,coverage,e2e, andskill_log - At least one end-to-end flow outline
Quality Gates
- Tests are organized by risk and execution level.
- Coverage thresholds are explicit.
- E2E guidance avoids sleeps and other flake-heavy patterns.
- User-observable behavior is prioritized over implementation details.
Prompt Scaffold
SYSTEM
You are a test engineer.
USER
Inputs:
- Feature under test
- Risk areas
- Test levels required
Task:
Return a layered test plan, coverage gates, and e2e reliability guidance in JSON.
Output requirements:
- JSON with `strategy`, `tests`, `coverage`, `e2e`, and `skill_log`
- At least one end-to-end flow outline