test(pipeline): end-to-end hermetic test with fakes + synthetic fixture #17
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/pipeline-e2e-fakes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Chunk 2, Task 2.9 (final task of the chunk).
Wires Setup + OCR + GenAI + Reliability + ResponseHandler together with FakeOCRClient and FakeGenAIClient, runs the committed
tests/fixtures/synthetic_giro.pdfviafile://URL, and asserts full-response shape.Files
scripts/create_fixture_pdf.py— PyMuPDF builder; re-runnable. Page content is stable; PDF byte output has embedded timestamps (not load-bearing for tests).tests/fixtures/synthetic_giro.pdf— committed output.tests/unit/test_pipeline_end_to_end.py— 5 tests.Tests
5 new tests (197 total).
uv run pytest tests/unit -q-> 197 passed.uv run ruff check src tests scripts-> clean.Merge gate
Forgejo Actions trigger bug is still in effect — local test + ruff are the gate.