2.7 KiB
name, description
| name | description |
|---|---|
| qa | Verify a feature works after implementation. Actively try to break it — edge cases, error paths, integration wiring, and real usage flows. |
QA
Verify that a feature works as intended after implementation. Assume bugs exist and hunt for them.
Mindset: you are not confirming it works — you are discovering where it breaks.
Steps
1. Understand the intent
Read the task description, PR, or recent commits to understand what was built and what it should do. Identify:
- The expected behavior (happy path)
- System boundaries (user input, API endpoints, external data)
- Integration points (what calls what, data flow end-to-end)
2. Trace the wiring
Before testing behavior, verify the feature is actually connected:
- Exports are imported and used (not just defined)
- API routes have consumers (frontend calls them, or tests exercise them)
- Data flows end-to-end: input -> handler -> storage -> response -> display
- New config/env vars are documented and have defaults
If something is orphaned or unwired, stop and report it — no point testing disconnected code.
3. Test the happy path
Run the feature as a user would. For backend changes, call the API. For frontend changes, trace the UI flow. For both, follow the full path:
- Does the basic use case work?
- Does the response/output match expectations?
- Is the data persisted correctly?
4. Try to break it
Systematically test these categories (skip what doesn't apply):
Boundary values:
- Empty input, nil/null, zero, negative numbers, max values
- Empty arrays/maps, single element, very large collections
- Strings: empty, whitespace-only, special characters, very long
Error paths:
- What happens when dependencies fail (DB down, API timeout, invalid response)?
- Are errors surfaced clearly or silently swallowed?
- Does the system recover or get stuck in a bad state?
Concurrency:
- What happens with simultaneous requests to the same resource?
- Race conditions: create/update/delete at the same time
- Does it handle duplicate submissions?
Authorization:
- Can the feature be accessed without proper auth?
- Does it respect permission boundaries?
5. Verify test coverage
Check that the implementation has tests covering the behaviors you just verified:
- Are the happy path and key error paths tested?
- Are edge cases from step 4 covered?
- If tests are missing, write them using
/tdd
6. Report
Summarize what was tested and what was found:
Verified working:
- List of behaviors confirmed working
Issues found:
- file:line - description, how to reproduce, severity (blocker/suggestion)
Missing test coverage:
- Behaviors that work but have no automated test
Verdict: Feature complete / Has issues — fix before merge