tests/ — sandbox verification (実体 + runner)

v0.1.0-draft · status: active · ADR-0013 で採用された framework の試作実装

§1. Layout

path役割VCS
scenarios/use case 別 YAML scenario (1 REQ = 1 scenario、 verification.html §3.2 schema)追跡
fixtures/scenario が参照する test data (mock payload 等)追跡
baselines/reference/golden file (期待値、 verification.html §3.4 / REQ-VER-004)追跡
baselines/local/実行時 actual 出力 (golden 比較先)ignore (.gitignore)
runner.sh軽量 bash runner (bash + yq + jq)、 Gap 2 で採用追跡
e2e/agent-driven e2e integration test (live load 済 plugin を実 tool 操作で発火、 REQ-VER-009)。 e2e/README.html 参照追跡

§2. Usage

# 単一 scenario 実行 (Step 1 で実装)
./runner.sh scenarios/caller-marker.yaml

# 前提:
#   yq (mikefarah/yq v4.x) が PATH にあること
#   jq が PATH にあること

§3. Status (Phase X3 進捗)

scenariorelated REQstatus
scenarios/caller-marker.yamlREQ-CM-003 primary (also covers REQ-CM-001/002 partial、 rules.html §10.1)Step 1 完了 (6/6 PASS、 sandbox-verified、 絶対 path lock-in 含む)
scenarios/path-boundary.yamlREQ-VER-007 (verification-specific、 path boundary、 ADR-0003 §2.1 Option Pragmatic)Step 2 完了 (11/11 PASS、 sandbox-verified、 絶対 path lock-in 含む)
scenarios/jsonld-lint.yamlREQ-CI-016 (rules.html §10.2、 試作 Light by Option B、 jq + bash + sed)Step 3 完了 (12/12 PASS、 sandbox-verified)
scenarios/readme-index.yamlREQ-VER-008 (verification-specific、 README index staleness check、 relations.html §4 inventory)Step 4 完了 (7/7 PASS、 sandbox-verified、 check 型 notify)

§4. References