test_a_declared_test_path_is_test_code

Tests › tests/test_wiki_test_recognition.py

passed Passed in the packaged run.

What this test is for

Why it exists

W1: a GoogleTest case in unittests/ADT/FooTest.cpp is a test.

Given

  1. —
→

When

  1. —
→

Then

  1. ✓ recognise("TEST", "(FooSuite, Works)", "unittests/ADT/FooTest.cpp") equals ( "FooSuite.Works", ("Works", "FooSuite.Works"), )

tests/test_wiki_test_recognition.py:71 · its file's page

What it checks (1)

  1. assert recognise("TEST", "(FooSuite, Works)", "unittests/ADT/FooTest.cpp") == ( "FooSuite.Works", ("Works", "FooSuite.Works"), ) observes recognise

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_a_declared_test_path_is_test_code→recognise

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.

test_a_declared_test_path_is_test_code · 1 checksrecognise_run_pipeline_run_pipeline_innerreport_statsREQ-DDB-CLI-001 · inferredrecognise… 7 calls …doxygen_supports_sqlite3REQ-DDB-CLI-002 · inferredrecognise… 3 calls …stated_document_metaREQ-DDB-CONFIG-001 · inferredrecognise… 4 calls …_is_flat_req_listREQ-DDB-CONFIG-003 · inferredrecognise… 3 calls …resolve_preprocessorREQ-DDB-CONFIG-004 · inferredrecognise… 3 calls …import_kconfigREQ-DDB-CONFIG-005 · inferredrecognise… 3 calls …recorded_explicitREQ-DDB-CONFIG-006 · inferredrecognise… 3 calls …write_build_signatureREQ-DDB-CONFIG-007 · inferredrecognise… 3 calls …load_toolchain_configREQ-DDB-CONFIG-009 · inferredrecognise… 5 calls …read_requirements_sectionREQ-DDB-GUARD-012 · inferredrecognise… 5 calls …parse_doxygen_tagsREQ-DDB-GUARD-019 · inferredrecognise… 5 calls …apply_autobriefREQ-DDB-GUARD-024 · inferred

and 42 more requirement paths, listed below.

Also reaches 55 requirements

Its run touches their code; that is reach, not proof.