QA Testing
Design test plans and cases that cover happy paths, edge cases, and regressions.
Workflow
- Identify risk areas and critical paths.
- Build a test matrix with coverage categories.
- Define expected outcomes and data.
- Ensure negative/security-path tests are included for config and boundary conditions.
- Report results and gaps.
Root-Cause Verification Matrix (QA Owner)
Consume the causality statement from debugging-assistant and verify the proposed fix closes the real defect.
QA Responsibilities
- Build a verification matrix mapping each original failure to:
- root cause
- fix location
- regression test(s)
- edge-case test(s)
- Require at least one regression test that fails before and passes after.
- Run layered verification:
- targeted check first
- full lint and test suite after targeted checks pass
- Report coverage gaps and residual risk for
code-review.
Ambiguity Handling
If expected behavior is unclear during test design, mark it as blocking and first apply the Spec-Clarity Gate (canonical definition in .github/copilot-instructions.md). Route to human verification only if ambiguity remains (do not infer by convenience).
Reference: debugging-assistant -> Human Verification Escalation (Blocking).
CORS + Sync Regression Cases (when relevant)
Include targeted tests for:
- Allowed origin preflight success (
OPTIONS) with expected allow-origin header. - Disallowed origin preflight behavior (no allow-origin).
- Normal JSON/error responses carrying consistent CORS headers.
- Config parsing edge cases (comma-separated allowlist with spaces/empty values).
- Backward compatibility for sync payload migrations (v1 read + v2 write/normalize).
Refactor Test Focus (Repo)
- High-priority before refactors: UI overlay DOM structure, focus trap/keyboard flow, sync error categorization, retry/backoff logic, performance baselines, worker crypto/validation utilities.
- Verification depth: cross-browser smoke checks plus financial accuracy spot checks for any UI/behavior change.
- CI gating: run targeted tests first, then full suite once targeted checks are green.
Output Format
- Test plan
- Coverage gaps
- Recommendations
References
- Test plan templates
Converted and distributed by TomeVault — claim your Tome and manage your conversions.