Orchestrata Ultimate › Tests › Reference › scripts › test_check_requirement_corpus

Tests reference — tests/scripts/test_check_requirement_corpus.py

Module of tests/scripts, split out because the directory page would be too large.

Prose pending.

tests/scripts/test_check_requirement_corpus.py

source · 10 tests · 192 lines

Tests for scripts/check_requirement_corpus.py — the requirement-corpus gate.

Covers: core.base.traces

Kind Name Line Description
class TestTheCorpusItReads 75
method TestTheCorpusItReads.test_all_three_definition_shapes_reach_the_universe 76 checklist, spec.md-inline and *-addendum.md all count. The old
method TestTheCorpusItReads.test_a_citation_of_a_defined_id_is_not_a_violation 88
class TestItFailsWhenItShould 100
method TestItFailsWhenItShould.test_a_citation_of_an_undefined_id_is_a_violation 101
method TestItFailsWhenItShould.test_the_violation_names_a_repo_relative_path 112 29 absolute paths is unreadable, and the reader needs the path they
method TestItFailsWhenItShould.test_a_prose_mention_does_not_define_an_id 123 SPEC-110 has a live instance: REQ-110-140 appears unbolded in its
class TestItCannotReportAPassItDidNotEarn 139
method TestItCannotReportAPassItDidNotEarn.test_a_repo_with_no_requirements_is_INVALID_not_a_pass 140
method TestItCannotReportAPassItDidNotEarn.test_the_exit_codes_are_distinct 149
method TestItCannotReportAPassItDidNotEarn.test_it_fails_on_the_defect_it_exists_for 152 THE test. Narrow the corpus back to checklists-only — the exact
class TestAgainstTheLiveRepository 175
method TestAgainstTheLiveRepository.test_no_shipping_code_cites_an_ungradeable_requirement 176
method TestAgainstTheLiveRepository.test_the_ids_that_were_ghosts_are_now_gradeable 183 Regression pins for the 21 production dangling traces: one per