Orchestrata Ultimate › Tests › Reference › scripts › test_derive_rtm

Tests reference — tests/scripts/test_derive_rtm.py

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

Prose pending.

tests/scripts/test_derive_rtm.py

source · 12 tests · 610 lines

Tests for scripts/derive_rtm.py -- the merged static+runtime call-graph

Kind Name Line Description
class TestAttributionSynthetic 98
method TestAttributionSynthetic.test_runtime_only_edge_exactly_one_spec_and_module_alignment 99
class TestMissingRuntimeCallGuard 167
method TestMissingRuntimeCallGuard.test_missing_runtime_call_facts_raises_systemexit_1 168
class TestPureHelpers 199
method TestPureHelpers.test_parse_call_graph_unions_static_and_runtime_edges 200
method TestPureHelpers.test_parse_traceability_builds_qname_to_reqs_and_req_to_specs 212
method TestPureHelpers.test_compute_anchors_maps_spec_to_its_traced_qnames 220
method TestPureHelpers.test_spec_name_map_parses_id_prefixed_directories 227
method TestPureHelpers.test_spec_name_map_missing_dir_returns_empty 237
method TestPureHelpers.test_bfs_stops_at_reachable_boundary 240
class TestCliBuild 253
method TestCliBuild.test_build_parser_requires_a_subcommand 254
method TestCliBuild.test_build_parser_build_subcommand_defaults 259
class TestRealRepoAcceptance 275
method TestRealRepoAcceptance.test_main_build_reproduces_reference_numbers 276
method TestRealRepoAcceptance.test_main_no_subcommand_prints_help_and_exits_1 607