Orchestrata Ultimate › Tests › Reference › scripts › test_gates_coverage
Tests reference — tests/scripts/test_gates_coverage.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_gates_coverage.py
source · 12 tests · 347 lines
Orchestration-path coverage for scripts/gates.py.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_autoformat_runs_ruff_fix_then_black |
141 | Both formatters really run against REPO_ROOT: ruff --fix removes the |
| function | test_refresh_ast_reports_ast_sync_failure |
156 | |
| function | test_refresh_ast_reports_reaugment_failure |
166 | |
| function | test_refresh_ast_detects_a_destroyed_callgraph |
177 | ast-sync without a working reaugment leaves runtime_calls empty — the |
| function | test_refresh_ast_success_reports_runtime_call_count |
190 | |
| function | test_main_runs_fresh_and_always_run_gates |
208 | |
| function | test_main_reuses_cached_passes_and_skips_the_pool |
232 | |
| function | test_main_reruns_a_gate_whose_cached_verdict_failed |
249 | |
| function | test_main_all_flag_ignores_the_cache |
270 | |
| function | test_main_only_filter_selects_named_gates |
285 | |
| function | test_main_autoformats_and_refreshes_a_stale_ast |
300 | The default invocation (no --no-fix, no --no-fix-ast): autoformat runs, |
| function | test_main_aborts_when_the_ast_refresh_fails |
331 | A failed refresh returns 1 BEFORE any gate runs — serving gate verdicts |