Orchestrata Ultimate › Tests › Reference › scripts › test_architecture_static_check

Tests reference — tests/scripts/test_architecture_static_check.py

Module of tests/scripts, split out because the directory page would be too large.

Prose pending.

tests/scripts/test_architecture_static_check.py

source · 8 tests · 109 lines

Tests for scripts/architecture_static_check.py and its pinned baseline

Kind Name Line Description
class TestBaselineArtifact 34 The committed baseline JSON is the authoritative debt ledger — it must
method TestBaselineArtifact.test_baseline_exists_and_has_required_shape 38
method TestBaselineArtifact.test_baseline_total_is_the_sum_of_scopes 50
method TestBaselineArtifact.test_baseline_total_matches_live_collect 56 A pinned baseline that has drifted from reality ratchets nothing.
class TestTarjanScc 66
method TestTarjanScc.test_finds_genuine_cycle_and_ignores_dag 67
method TestTarjanScc.test_no_cycles 73
class TestRatchetCli 77
method TestRatchetCli.test_current_tree_passes_its_own_baseline 87
method TestRatchetCli.test_regression_fails_the_ratche 92
method TestRatchetCli.test_write_baseline_round_trip 101