test_mermaid_flows_are_sequence_diagrams

Tests › tests/test_export_conformance.py

passed Passed in the packaged run.

What this test is for

Why it exists

Mermaid: every flow export opens with `sequenceDiagram`.

Given

  1. —
→

When

  1. files = list((_html(site) / "exports" / "flows").glob("*.mmd"))
  2. all(f.read_text().lstrip().startswith("sequenceDiagram") for f in files)
→

Then

  1. ✓ files holds
  2. ✓ all(f.read_text().lstrip().startswith("sequenceDiagram") for f in files) holds

tests/test_export_conformance.py:66 · its file's page

What it checks (1)

  1. assert files and all(f.read_text().lstrip().startswith("sequenceDiagram") for f in files) observes all

Where the product reaches it

  • dossier → _rank_enum_over_mirror → _class_side_is_only_enum_mirrors → all (flow)
  • dossier → subject_payload → _flatten_subject → list (flow)

Call flow

test_mermaid_flows_are_sequence_diagrams→list→_html→all

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_mermaid_flows_are_sequence_diagrams · 1 checksallREQ-DDB-WIKI-054 · inferred
Also reaches 1 requirement

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