Orchestrata Ultimate › Tests › Reference › scripts › test_parse_spec_requirements
Tests reference — tests/scripts/test_parse_spec_requirements.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_parse_spec_requirements.py
source · 16 tests · 241 lines
Tests for scripts/parse_spec_requirements.py — the requirements-checklist
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestParseRequirements |
37 | |
| method | TestParseRequirements.test_missing_checklist_raises |
38 | |
| method | TestParseRequirements.test_parses_basic_requirement_line |
43 | |
| method | TestParseRequirements.test_checked_box_also_parsed |
55 | |
| method | TestParseRequirements.test_story_and_fr_scoped_id_tails_are_valid |
61 | |
| method | TestParseRequirements.test_single_quotes_in_description_are_escaped |
72 | |
| method | TestParseRequirements.test_backslashes_in_description_are_escaped |
80 | |
| method | TestParseRequirements.test_non_matching_lines_are_skipped |
91 | |
| method | TestParseRequirements.test_no_requirements_returns_empty_list |
103 | |
| class | TestMain |
109 | |
| method | TestMain.test_too_few_args_exits_1 |
118 | |
| method | TestMain.test_main_prints_facts_with_trailing_period |
125 | |
| method | TestMain.test_main_missing_checklist_propagates |
135 | |
| class | TestNextStoryFlag |
141 | --next-story: the automatic-id-generation seam (GOAL deliverable C), |
| method | TestNextStoryFlag.test_next_story_prints_id_with_derived_spec_md |
163 | |
| method | TestNextStoryFlag.test_next_story_explicit_spec_md |
181 | |
| method | TestNextStoryFlag.test_next_story_nonexistent_story_exits_1 |
198 | |
| method | TestNextStoryFlag.test_next_story_missing_checklist_exits_1 |
217 | |
| method | TestNextStoryFlag.test_without_next_story_still_dumps_facts |
236 |