extract_scenarios
Classify acceptance criteria into happy, edge, or error scenarios and structure them as Given/When/Then steps for test generation.
Instructions
Turn parsed acceptance criteria into testable scenarios. Each scenario is classified as happy / edge / error via keyword heuristics, and split into Given / When / Then where possible. Pass the acceptance_criteria array returned by parse_spec. Returns {count, scenarios[]} where each scenario has {id, ac_id, title, kind, given, when, then}. Best paired with generate_test_plan for a markdown handoff to mk-qa-master.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| acceptance_criteria | Yes |