test_a_per_test_key_carries_the_file¶
Tests › tests/test_wiki_slice_identity.py
What this test is for
Why it exists
pytest node id → `file::name`; parameters and classes dropped; setup phase ignored.
Given
- —
When
_context_test("tests/test_a.py::TestK::test_x[p::q]|run")_context_test("tests/test_b.py::test_x|run")_context_test("tests/test_b.py::test_x|setup")
2 more
test_name("tests/test_b.py::test_x")test_name("an LCOV TN name")
Then
- ✓ _context_test("tests/test_a.py::TestK::test_x[p::q]|run") equals "tests/test_a.py::test_x"
- ✓ _context_test("tests/test_b.py::test_x|run") equals "tests/test_b.py::test_x"
- ✓ _context_test("tests/test_b.py::test_x|setup") equals ""
- ✓ test_name("tests/test_b.py::test_x") equals "test_x"
- ✓ test_name("an LCOV TN name") equals "an LCOV TN name"
tests/test_wiki_slice_identity.py:66 · its file's page
What it checks (5)
assert _context_test("tests/test_a.py::TestK::test_x[p::q]|run") == "tests/test_a.py::test_x"observes_context_testassert _context_test("tests/test_b.py::test_x|run") == "tests/test_b.py::test_x"observes_context_testassert _context_test("tests/test_b.py::test_x|setup") == ""observes_context_testassert test_name("tests/test_b.py::test_x") == "test_x"observestest_nameassert test_name("an LCOV TN name") == "an LCOV TN name"observestest_name
Where the product reaches it
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.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-WIKI-041 measured