Orchestrata Ultimate › Tests › Reference › scripts › test_factory_evidence_cli

Tests reference — tests/scripts/test_factory_evidence_cli.py

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

Prose pending.

tests/scripts/test_factory_evidence_cli.py

source · 9 tests · 340 lines

Tests for scripts/factory_evidence.py — the SPEC-033 §9 B6 red-first

Covers: factory.enforcement.ledger, factory.evidence.red_first

Kind Name Line Description
function test_red_status_exit_0_for_red_first 73
function test_red_status_exit_1_for_never_red 109
function test_red_status_exit_1_for_green_only 139
function test_red_status_defaults_ledger_path_under_repo_root 172 No --ledger given -> <repo-root>/factory_ledger.jsonl, same
function test_mutate_exit_0_when_all_mutants_killed 211
function test_mutate_exit_1_with_named_survivors 240
function test_mutate_requires_tests_or_test_map 267
function test_mutate_with_test_map_json_file 281
function test_mutate_respects_limit 312