Testing
Test scenarios
Design and review scenario coverage linked to requirements.
Overview
Test scenarios group related validation paths derived from requirements. They bridge product language ("refund eligibility") and executable inventory in the test library, linking to requirement IDs, test types, and coverage matrices.
Consistent scenario naming enables search, reporting, and audit. Enterprise teams standardize on SCN-<REQID>-<short-slug> so operators can grep across projects and trace failures to authoritative requirements quickly.
Scenarios are not executable themselves; cases underneath carry steps. Refactoring scenarios during reorganizations is preferable to duplicating cases across poorly named groups.
Who should read this
- QA engineers, SREs, platform teams, and developers operating Zof Console and APIs.
Prerequisites
- Understanding of requirement IDs in your product catalog
- Access to test library scenario view
When to use this workflow
- Onboarding new team members to Zof terminology and workflows
- Authoring internal runbooks aligned with Console labels
- Designing CI/CD or webhook integrations against documented behavior
Step-by-step procedure
Review generated scenario groupings
After generation, open scenario list filtered by project.
Confirm each scenario maps to one primary requirement ID unless policy allows many-to-one explicitly.
Rename scenarios that omit IDs to follow SCN-REQ-ORD-008-cancellation-window pattern.
Consolidate overlapping scenarios
Merge scenarios that describe the same behavioral path from duplicate requirement paragraphs.
Move cases between scenarios rather than duplicating case records.
Document merge rationale in change tickets for audit trails.
Tag test types and risk
Associate scenarios with enabled test types (functional, accessibility, security-oriented) for reporting.
Flag high-risk domains with tags such as payments, auth, or hipaa-scope for reviewer assignment.
Align tags with Agent Console capability routing when specialized agents execute cases.
Link scenarios to coverage rows
Open Coverage matrix and locate requirement ID rows.
Verify each priority requirement has at least one scenario reference.
Create placeholder scenarios for gaps before case authoring or generation.
Maintain scenarios across releases
Archive obsolete scenarios when requirements retire, retain history for past runs.
Add successor scenarios when requirement IDs supersede older rules.
Notify suite owners when scenario archival removes cases from scheduled runs.
Communicate scenario catalog to stakeholders
Export scenario lists for sprint planning aligned to requirement IDs.
Use scenario titles in failure digests so PMs recognize product scope without reading case steps.
Pair scenario reviews with PRD walkthroughs before major generation passes.
Key concepts
- Organization scope
- All Zof Console and API operations are isolated to your authenticated tenant.
- Governed execution
- Agent output and remediation follow policy packs with human approval when configured.
Best practices
- Never leave generated scenario titles generic ("Scenario 12")
- One primary requirement ID per scenario unless documenting explicit multi-requirement integration paths
- Keep slugs short and stable, avoid sprint names in titles
- Review scenario list before case generation batches to prevent duplicate groupings
Common issues
- Scenario references wrong requirement ID
- Rename and update coverage mapping; regenerate cases only if steps were built on incorrect rules.
- Too many cases under one scenario
- Split by distinct acceptance criteria blocks to preserve clarity and parallel review assignments.
Scenario naming convention examples
SCN-REQ-PAY-014-refund-eligibility SCN-REQ-AUTH-003-session-timeout SCN-REQ-ORD-008-cancellation-window SCN-REQ-INV-021-negative-stock-guard
Was this page helpful?