Orchestrata Ultimate › Tests › Reference › scripts › test_factory_detectors_cli

Tests reference — tests/scripts/test_factory_detectors_cli.py

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

Prose pending.

tests/scripts/test_factory_detectors_cli.py

source · 12 tests · 290 lines

Tests for scripts/factory_detectors.py -- the SPEC-033 C3 detector CLI.

Covers: factory.assumptions.ledger

Kind Name Line Description
function test_check_clean_text_exits_zero_with_no_findings 70
function test_check_dirty_text_prints_findings_by_tier 80
function test_check_tier1_gate_exits_1_on_blocking_finding 89
function test_check_disable_rule_suppresses_it 95
function test_check_json_output_shape 112
function test_check_directory_scans_md_files 133
function test_dismiss_then_check_moves_finding_to_dismissed 145
function test_dismiss_repeatable_fingerprint_flag 201
function test_rules_lists_every_rule_with_tier_precision_provenance 221
function test_feed_c1_bridges_tier3_questions_into_the_ledger 234
function test_feed_c1_rerun_is_idempotent 264
function test_main_requires_a_subcommand 286