test: expand adapter integration coverage
This commit is contained in:
parent
25b49f446b
commit
9ea0a1d093
|
|
@ -150,6 +150,19 @@ reports remain understandable/recreatable and individual tools need no macro rep
|
|||
|
||||
## Pass handoff log
|
||||
|
||||
### 2026-09-15 — Adapter negative-path coverage
|
||||
|
||||
- Completed reports task BR2.4 with standalone preservation tests and integration
|
||||
cases against both owning validators. Root `make check` now covers malformed and
|
||||
unsupported diagnostics, invalid report output, evidence/path failures,
|
||||
regeneration conflicts and atomic publication races using synthetic data.
|
||||
- Added adapter tests to the reports component Jenkinsfile; cross-component cases
|
||||
remain owned by this integration workspace. Jenkins itself was not run.
|
||||
- Validation: 10 diagnostic contract, eight Reportist contract and 16 adapter
|
||||
tests pass. P5.4/P5.5 remain open until analysis and PDF rendering are present.
|
||||
- Next: reports branding/tool discovery, then the first diagnostic analyser and
|
||||
generic Reportist rendering slices.
|
||||
|
||||
### 2026-09-15 — First diagnostic-to-report slice
|
||||
|
||||
- Completed reports tasks BR2.1–BR2.2 with an immutable adapter generation,
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit cce56374324aa055bca031e81ab77c061f580595
|
||||
Subproject commit 8ed1b810983e15f1adbb1546791481ef30f0f6f4
|
||||
|
|
@ -26,20 +26,9 @@ for component in win-diagnostics reportist; do
|
|||
done
|
||||
|
||||
echo "Checking beffroi-reports ($(git -C beffroi-reports rev-parse HEAD))"
|
||||
python3 --version
|
||||
python3 -m unittest discover -s beffroi-reports/tests -p 'test_*.py' -v
|
||||
|
||||
adapter_check_root="$(mktemp -d "${TMPDIR:-/tmp}/beffroi-adapter-check.XXXXXX")"
|
||||
trap 'rm -rf -- "$adapter_check_root"' EXIT
|
||||
".venv/component-checks/reportist/bin/python" beffroi-reports/tools/diagnostic-to-report.py \
|
||||
--diagnostic beffroi-reports/tests/fixtures/diagnostic.json \
|
||||
--evidence-root beffroi-reports/tests/fixtures \
|
||||
--output-dir "$adapter_check_root/generation" \
|
||||
--title 'Synthetic diagnostic draft' \
|
||||
--author 'CI Test' \
|
||||
--date 2026-09-15 \
|
||||
--generator-version "$(git -C beffroi-reports rev-parse HEAD)" \
|
||||
--diagnostic-validator win-diagnostics/tools/validate.py \
|
||||
--report-validator reportist/tools/validate.py
|
||||
DIAGNOSTIC_VALIDATOR="$(pwd)/win-diagnostics/tools/validate.py" \
|
||||
REPORT_VALIDATOR="$(pwd)/reportist/tools/validate.py" \
|
||||
.venv/component-checks/reportist/bin/python -m unittest discover \
|
||||
-s beffroi-reports/tests -p 'test_*.py' -v
|
||||
|
||||
echo 'Contract and adapter checks passed. Analysis and PDF checks remain pending.'
|
||||
|
|
|
|||
Loading…
Reference in New Issue