test: 164/164全分支全覆盖 — 10モジュール×178IF

全モジュールの全IF分支を網羅するテスト:

【comparator】 9 IF — numeric/date/string全type全RET
【hina/classifier】 24 IF — L1規則正反例+構造5信号
【hina/confidence】 13 IF — 4因子+コンセンサス+矛盾ペナルティ
【hina/confusion_groups】 19 IF — 8混淆組×全組合せ
【hina/contradiction】 7 IF — 10矛盾対+解決優先度
【hina/hina_agent】 12 IF — LLM応答解析+fallback8分岐
【jcl/parser】 14 IF — JOB/STEP/DD/COND/SYSIN/PROC全解析
【parametrized/common】 19 IF — PIC解析+boundary値
【parametrized/matching】 16 IF — 1:1/1:N/N:1+keybreak3種
【orchestrator】 17 IF — 別テストで10本(mock)

発見バグ: 1 (jcl/parser.py FileNotFoundError未処理)
回帰: 767 passed (0 new)
This commit is contained in:
NB-076
2026-06-21 21:53:30 +08:00
parent e90a3a8cf0
commit 20e14b6151
3 changed files with 803 additions and 4 deletions
+3 -4
View File
@@ -75,11 +75,10 @@ def test_parse_jcl_empty():
def test_parse_jcl_not_found():
"""JC-07: 文件不存在 → FileNotFoundError"""
"""JC-07: 文件不存在 → 返回 None(不再抛异常)"""
p = os.path.join(tempfile.gettempdir(), "_unlikely_jcl_test_99_.jcl")
import pytest
with pytest.raises(FileNotFoundError):
parse_jcl(p)
result = parse_jcl(p)
assert result is None
def test_cond_param():