test_module_and_claims¶
Tests › tests/test_jsts.py
What this test is for
Given
- —
When
module_of("src/util/strings.ts")module_of("web/App.test.tsx")claims("a/b.mjs")
2 more
claims("x.TSX")claims("a.py")
Then
- ✓ module_of("src/util/strings.ts") equals "src.util.strings"
- ✓ module_of("web/App.test.tsx") equals "web.App.test"
- ✓ claims("a/b.mjs") holds
- ✓ claims("x.TSX") holds
- ✓ claims("a.py") is false
tests/test_jsts.py:175 · its file's page
What it checks (3)
assert module_of("src/util/strings.ts") == "src.util.strings"observesmodule_ofassert module_of("web/App.test.tsx") == "web.App.test"observesmodule_ofassert claims("a/b.mjs") and claims("x.TSX") and not claims("a.py")observesclaims
Where the product reaches it
main→init_main→diagnose→_check_doxygen→_needs_doxygen→claims(flow)
Call flow
What it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Requirements it verifies (1)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-PIPE-012 | catalog | unknown |