Files
faunosteo/apps/app/tests/fixtures/README.md
T

1.1 KiB
Raw Blame History

Test fixtures

Golden inputs frozen for the characterisation tests (plan Step 1). They describe the Report v2 document as the current application produces it.

File Content
report-v2.full.json One report exercising every zone kind the editor can produce: plain hinge point, bilateral joint with both sides, spine zone with vertebrae, detail-popup zone, catalog findings (with and without vet referral and side), free text, severity, comment, conclusion, recommendations, dated next appointment. boneId values are the real data-anno-id of public/species/equine/*.svg; zoneId/path values exist in pathologies.json.
report-v2.minimal.json Smallest valid v2 report (no observations).
report-v2.full.pdf, report-v2.minimal.pdf The two reports exported by the v2 pipeline (commit 199e328, Step 5.0, rasteriser stubbed to a 1×1 PNG, no logos): the archive-like PDFs the v3 importer must read and migrate. Synthetic data only.

Do not edit these files to make a test pass: they are the behavioural oracle for the Report v2 → v3 adapter and for PDF regression. Add a new fixture instead.