Orchestrata Ultimate › Tests › Reference › scripts › test_run_tests_main_infra

Tests reference — tests/scripts/test_run_tests_main_infra.py

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

Prose pending.

tests/scripts/test_run_tests_main_infra.py

source · 10 tests · 397 lines

End-to-end infra-path tests for scripts/run_tests.py main().

Kind Name Line Description
function test_main_with_real_infra_check_and_skip_gates 54 No --skip-infra: exercises the real _check_infra() call site in main().
function test_main_infra_check_failure_returns_1 86 No --skip-infra, a dead-address graph profile: main() aborts at the infra
function test_main_json_emits_a_document_when_infra_aborts 101 An abort before any test still writes JSON — never an empty file.
function test_freshness_guard_missing_warns_and_continues 154 A REPO_ROOT with no guard script warns — it does not abort the run.
function test_freshness_guard_failure_aborts_before_any_test_runs 173 A guard that exits non-zero aborts main() at stage 'freshness'.
function test_skip_freshness_never_spawns_the_guard 198 --skip-freshness must not execute the guard at all.
function test_nested_check_infra_runs_readiness_but_does_not_sweep 297 A nested run (marker inherited from the outer runner) still verifies
function test_outermost_check_infra_sweeps_then_exports_the_marker 317 The outermost run (no marker yet) sweeps the deep-only node, and only
function test_abort_keeps_a_current_full_scope_report 361
function test_abort_replaces_a_stale_full_scope_report 384