test_classify_doxygen_line_buckets¶
Tests › tests/test_build_docs_db.py
What this test is for
Given
- —
When
_classify_doxygen_line("warning: X")_classify_doxygen_line("Error: oops")_classify_doxygen_line("Preprocessing /a.c...")
4 more
_classify_doxygen_line("Parsing file /b.h...")_classify_doxygen_line("Generating XML output...")_classify_doxygen_line("Building member docs...")_classify_doxygen_line("Doxygen version 1.x")
Then
- ✓ _classify_doxygen_line("warning: X") equals "warning"
- ✓ _classify_doxygen_line("Error: oops") equals "warning"
- ✓ _classify_doxygen_line("Preprocessing /a.c...") equals "file"
- ✓ _classify_doxygen_line("Parsing file /b.h...") equals "file"
- ✓ _classify_doxygen_line("Generating XML output...") equals "phase"
- ✓ _classify_doxygen_line("Building member docs...") equals "phase"
- ✓ _classify_doxygen_line("Doxygen version 1.x") equals "other"
tests/test_build_docs_db.py:321 · its file's page
What it checks (7)
assert _classify_doxygen_line("warning: X") == "warning"observes_classify_doxygen_lineassert _classify_doxygen_line("Error: oops") == "warning"observes_classify_doxygen_lineassert _classify_doxygen_line("Preprocessing /a.c...") == "file"observes_classify_doxygen_lineassert _classify_doxygen_line("Parsing file /b.h...") == "file"observes_classify_doxygen_lineassert _classify_doxygen_line("Generating XML output...") == "phase"observes_classify_doxygen_lineassert _classify_doxygen_line("Building member docs...") == "phase"observes_classify_doxygen_lineassert _classify_doxygen_line("Doxygen version 1.x") == "other"observes_classify_doxygen_line
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
test_classify_doxygen_line_buckets→_classify_doxygen_lineWhat 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 (2)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-PIPE-001 | catalog | unknown |
| REQ-DDB-PIPE-010 | catalog | unknown |