test_the_defaults_are_the_former_constants¶
Tests › tests/test_wiki_tuning.py
What this test is for
Why it exists
Undeclared, every key is the value the code used to assume.
Given
config, problems = _config(tmp_path, "wiki: {title: x}\n")
When
- —
Then
- ✓ problems is false
- ✓ (config.measured_depth, config.measured_steps) equals (12, 400)
- ✓ (config.path_depth, config.trace_depth, config.trace_timeout) equals (12, 2, 600)
- ✓ (config.component_depth, config.web_max_ring, config.trace_python) equals (2, 8, None)
- ✓ config.max_report_mb equals 64
What it exercises
The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.
Build this wiki from the index · 37 of 400 steps
… 6 steps between
… 343 later steps
tests/test_wiki_tuning.py:33 · its file's page
What it checks (5)
assert not problemsnot attributedassert (config.measured_depth, config.measured_steps) == (12, 400)not attributedassert (config.path_depth, config.trace_depth, config.trace_timeout) == (12, 2, 600)not attributedassert (config.component_depth, config.web_max_ring, config.trace_python) == (2, 8, None)not attributedassert config.max_report_mb == 64not attributed
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_the_defaults_are_the_former_constants→_configWhat 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.
Also reaches 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-GUARD-012 measured
- REQ-DDB-WIKI-054 inferred