- Nx 22.7 monorepo (pnpm 11.1, TypeScript 5.9, Node 24) - apps/api: NestJS 11 (CJS conforme CODING-RULES.md PGD-DB-004) - apps/web: React 19 + Vite 8 (ESM) - libs/shared/api-interface: Zod contract base - Docker Compose dev: Postgres 18, Valkey 8, MinIO, Mailpit - WDS artifacts: - design-artifacts/A-Product-Brief/ (5 docs canônicos + 16 dialogs) - design-artifacts/B-Trigger-Map/ (hub + 4 personas + feature impact) - Stack canon: STACK.md v2.2 + CODING-RULES.md v2.0 + brand.md - AGENTS.md + README.md como entrada para devs/agentes Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2.1 KiB
2.1 KiB
name, description, borrows_from
| name | description | borrows_from |
|---|---|---|
| acceptance-test | Test the implementation against the specification | Phase 5 [T] (acceptance testing) |
Acceptance Test
Goal: Validate the implementation against the specification's acceptance criteria before deploying.
INITIALIZATION
Design Log
Read {output_folder}/_progress/00-design-log.md. Check Current and Backlog for context.
Steps
Step 1: Load Test Context
Gather everything needed for testing:
- Read specification from [D] Design Solution
- Read scenario from [S] Scope Improvement
- Review implementation diff from [I] Implement
- Extract acceptance criteria into a test checklist
Step 2: Prepare Test Environment
Ensure the implementation is running and testable:
- Confirm branch is checked out:
evolution/[scenario-name] - Start local development server if needed
- Navigate to the affected page/view
- Note the URL and any required test data
Step 3: Execute Tests
For each acceptance criterion:
| # | Criterion | Steps | Expected | Actual | Pass? |
|---|---|---|---|---|---|
| 1 | [From spec] | [How to test] | [Expected result] | [What happened] | Y/N |
| 2 | ... | ... | ... | ... | ... |
Also test:
- Responsive: Check all breakpoints defined in spec
- Edge cases: Empty states, long content, error states
- Regression: Verify nothing else broke on the page
- Cross-browser: If specified in project requirements
Step 4: Document Results
Create test report at {output_folder}/evolution/test-reports/:
# Test Report: [Scenario Name]
## Summary
[X/Y criteria passed]
## Results
[Test table from Step 3]
## Issues Found
[List any failures with severity and description]
## Recommendation
[Pass / Pass with notes / Fail — needs rework]
Step 5: Handle Failures
If tests fail:
- Minor issues → Fix in the same branch, retest
- Design issues → Route back to [D] Design Solution
- Scope creep → Log as separate improvement target for next cycle
AFTER COMPLETION
- Update design log
- Suggest next action
- Return to activity menu