test_an_unknown_language_has_no_diagram

Tests › tests/test_wiki_activity.py

passed Passed in the packaged run.

What this test is for

Why it exists

No parser: no steps, no SVG.

Given

  1. —
→

When

  1. steps_of(["fn x() {}"], "src/m.rs", 1)
  2. activity_svg([], "x")
→

Then

  1. ✓ steps_of(["fn x() {}"], "src/m.rs", 1) equals []
  2. ✓ activity_svg([], "x") equals ""

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 · 1 of 400 steps

… 284 earlier steps

callercallercallercallerclew/wiki/activity.pyclew/wiki/activity.pyclew/wiki/activity.pyclew/wiki/activity.pyopt (line 160)optbuild_wiki285. _py_block → 285… 3 calls not run286. _py_steps → _without_docstring286_without_docstring287. steps_of → _c_steps287_c_steps▶ test enters288–289. _c_steps → _first288_first +1 more

… 111 later steps

tests/test_wiki_activity.py:72 · its file's page

What it checks (1)

  1. assert steps_of(["fn x() {}"], "src/m.rs", 1) == [] and activity_svg([], "x") == "" observes steps_of

Where the product reaches it

  • build_wiki → _build_site → symbol_pages → _section → _activity → activity_svg (flow)
  • build_wiki → _build_site → symbol_pages → _section → _activity → steps_of (flow)

Call flow

test_an_unknown_language_has_no_diagram→steps_of→activity_svg

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_an_unknown_language_has_no_diagram · 1 checkssteps_ofREQ-DDB-WIKI-045 · measured
Also reaches 1 requirement

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