/red-acceptance - Write Acceptance Test (Red Phase)
Usage
code
/red-acceptance "Story name" "Scenario name" /red-acceptance 4 "Login fails with incorrect password" /red-acceptance # Interactive selection
Workflow
- •Load
.claude/agents/red-agent.md+.claude/templates/acceptance/test-class.md - •Read story and API spec from
ProductSpecification/ - •Analyze existing tests in
acceptance/app-acceptance/ - •Write ONE test with @Disabled, create/update Statements and DTOs as needed
- •Verify test compiles
Test Types
| Type | Base Class | Tag |
|---|---|---|
| Backend API | AbstractBackendTest | @Tag("backend") |
| Frontend UI | AbstractUiTest | @Tag("frontend") |
Story mapping: see .claude/shared/story-mapping.md
Next step: Implement all layers, then /green-acceptance