20 lines
1.5 KiB
Markdown
20 lines
1.5 KiB
Markdown
# Feature validation matrix
|
|
|
|
Use only the rows relevant to the feature and the repository. Repository-specific commands and completion gates take precedence.
|
|
|
|
| Surface changed | Minimum useful evidence | Common additional validation |
|
|
|---|---|---|
|
|
| Domain/business rule | focused unit/integration test proving invariant | invalid/boundary/concurrency cases |
|
|
| ORM/model/schema | model/schema test or migration review | upgrade on disposable DB, constraint/index verification |
|
|
| API endpoint | authorized success + validation/error tests | unauthorized/forbidden/not-found/conflict cases |
|
|
| Authentication/authorization | server-side access-control test | role boundaries, token/session edge cases |
|
|
| React component/page | focused render/interaction test | loading/empty/error/disabled states |
|
|
| Frontend API integration | mocked/integration request behavior | stale/failed response and retry/submission behavior |
|
|
| Routing/navigation | route/render test | protected-route/404/back-navigation behavior |
|
|
| Styling/layout | relevant component/page render | browser widths, overflow, keyboard/focus checks |
|
|
| Build/config | config-specific test/check | production build, safe env-example review |
|
|
| Cross-stack feature | targeted backend + frontend tests | local smoke/browser flow when available |
|
|
| Migration/deployment-sensitive change | migration review + repository migration check | disposable upgrade/rollback only when supported and safe |
|
|
|
|
Always report the actual environment used when it materially differs from the repository-supported environment.
|