Create test cases from acceptance criteria
stride.create_test_case_from_acCreate test cases from a story's acceptance criteria, each linked back to its criterion (relation covers_ac). Required: storyId (ticket key like "OP-12" or UUID) plus exactly one of: acId (ONE criterion), acIds (several, up to 50), or allCriteria: true (every criterion of the story, one call instead of one per criterion). The ac_… ids come back from stride.create_story and stride.get_story (acceptanceCriteria[].id) — no separate get_story_context read is needed. Idempotent per criterion: an already-covered criterion returns its existing case (alreadyExisted) and writes nothing; the multi mode returns a per-criterion receipt (created / alreadyExisted) plus notFound ids. Optional: templateId (a test-case template; its title pattern may use {{acText}} and {{storyTitle}}, and its steps/type/priority/expectedResult are applied), suiteId (defaults to the project's first suite). Without a template the title is "Verify: ", type INTEGRATION, priority MEDIUM, status DRAFT. Use stride.create_test_case when a case should cover a whole story instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| acId | No | ONE acceptance-criterion id (ac_…) from stride.get_story / create_story / get_story_context. Exactly one of acId, acIds, allCriteria. | |
| acIds | No | Several criterion ids in one call; per-criterion receipt. Exactly one of acId, acIds, allCriteria. | |
| storyId | Yes | Story UUID or ticket key (e.g. "OP-12"). | |
| suiteId | No | Test suite UUID in the same project; defaults to the first suite. | |
| templateId | No | Test-case template UUID (workspace-shared or same project). | |
| allCriteria | No | true = every acceptance criterion of the story in one call. Exactly one of acId, acIds, allCriteria. |