Generate Manual Test Cases
Config, version check, and pattern rules per claude/rules/skills.md preamble.
Workflow
- If no
.sparq/requirements/REQ-{feature}.mdexists, run/sparq:analyzefirst - CHECKPOINT -- Propose test plan: categories with case counts, priority distribution (P1/P2/P3/P4), total cases, out-of-scope items. Wait for approval.
- CHECKPOINT -- Delegate to
sparq-manual-test-writeragent with delegation context:- Requirements document path and parsed content
- E2E Infrastructure Summary from config (existing page objects, components, fixtures, specs)
- Tech stack info (
project.componentFileExtensions) - Output format preference from config (
outputs.testCases.format) - Use
preferences.locatorPriorityfrom config for selector strategy when suggesting selectors in test cases For >30 tests: split into parallel batches perparallel-execution.mdPattern 2 (pre-assign TC ID ranges, launch parallel Task agents). Check project e2e structure for existing test infrastructure (page objects, component objects); flag in 'Automation Status' field. Present cases for review. Wait for confirmation.
- Optionally export to TMS via
/sparq:export
Chain: requirements-analyst (if needed) -> manual-test-writer -> export (optional)
Optional support: sparq-manual-test-writer agent handles generation. For complex features, the orchestrator may also involve sparq-automation-engineer for automation feasibility assessment.
Test Categories
5 canonical categories (HP, VE, SEC, EC, A11Y) -- see data-model.md "Test Category Naming" for mapping and test-generation-patterns.md for per-category checklists.
Output Files
.sparq/test-cases/TC-{feature}-manual.md-- format per.claude/templates/sparq-test-case.md- TMS export file per
tms-abstraction.md(.xml for TestRail, .json for Qase/local) .sparq/coverage/coverage-matrix.md-- format per.claude/templates/sparq-coverage-matrix.md
References
.claude/skills/sparq-shared/references/test-generation-patterns.md,tms-abstraction.md.claude/skills/sparq-shared/references/data-model.md.claude/skills/sparq-shared/references/parallel-execution.md
Usage
/sparq:generate-manual
Examples:
"Generate manual test cases for EP-142""Create QA test plan for the checkout feature""Build manual test cases from Confluence spec at https://..."
Example
/sparq:generate-manual EP-14
-> finds REQ-login.md -> proposes plan (26 cases across 5 categories, P1-P4)
-> CHECKPOINT: approve plan -> delegates to manual-test-writer with E2E infrastructure summary
-> generates test cases with automation status flags
-> outputs: TC-login-manual.md, TMS export, coverage-matrix.md