Orchestrata Ultimate › Tests › Reference › scripts › test_sync_traces_to_graph

Tests reference — tests/scripts/test_sync_traces_to_graph.py

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

Prose pending.

tests/scripts/test_sync_traces_to_graph.py

source · 19 tests · 597 lines

Tests for scripts/sync_traces_to_graph.py -- the @traces -> Neo4j

Kind Name Line Description
function test_id 63 Unique per-test project id (matches tests/scripts/test_sync_ast_to_graph.py).
class TestHarvestTraceEdges 170
method TestHarvestTraceEdges.test_harvests_class_method_and_function_edges 171
method TestHarvestTraceEdges.test_module_dotted_path_strips_init 181
method TestHarvestTraceEdges.test_module_dotted_path_plain_module 188
class TestBuildParser 200
method TestBuildParser.test_defaults 201
method TestBuildParser.test_overrides 210
class TestResolveConnection 239
method TestResolveConnection.test_explicit_flags_used 240
method TestResolveConnection.test_env_vars_used_when_flags_absent 247
method TestResolveConnection.test_raises_when_nothing_resolves 259 env is an explicit injection seam (no monkeypatch/no bare
method TestResolveConnection.test_flags_win_even_with_empty_env 267
class TestMainEndToEnd 280
method TestMainEndToEnd.test_harvest_map_write_end_to_end 281
method TestMainEndToEnd.test_idempotent_second_run_adds_no_duplicate_edges 355
method TestMainEndToEnd.test_unresolved_requirement_reported_not_created 397
method TestMainEndToEnd.test_unmatched_symbol_reported 444
method TestMainEndToEnd.test_dry_run_writes_nothing 491
method TestMainEndToEnd.test_unreachable_uri_exits_one_with_error 530
class TestFormatReport 557
method TestFormatReport.test_written_report_line 558
method TestFormatReport.test_dry_run_report_line 572
method TestFormatReport.test_capped_listings_show_overflow_marker 585