Decompose: End-to-end pipeline tests (SVG/DST, PES, raster, multi-stitch, pull compensation, machine constraints) — Phase 1: SVG → DST round trip #63

Closed
opened 2026-06-22 16:31:40 +00:00 by Mark · 1 comment
Owner

Phase 1: SVG → DST round trip

The core happy path. The original MVP that issue #2 (DST fallback
produces corrupt files) regressed. This test would have caught it.

Files:

  • New: tests/test_pipeline_e2e.py (test file)
  • New: data/test_fixtures/simple_square.svg (a known SVG)

Acceptance:

  • process(simple_square.svg, output_format="dst") produces a valid
    DST file (header check: starts with the correct DST magic; stitch
    count in the expected range; no truncated bytes).
  • The test runs in CI on every PR.

Why first: if this fails, the basic pipeline is broken and all
other tests are noise. Land this first to establish the test infra
works.



Decomposed from easystitch#41

## Phase 1: SVG → DST round trip The core happy path. The original MVP that issue #2 (DST fallback produces corrupt files) regressed. This test would have caught it. **Files:** - New: `tests/test_pipeline_e2e.py` (test file) - New: `data/test_fixtures/simple_square.svg` (a known SVG) **Acceptance:** - `process(simple_square.svg, output_format="dst")` produces a valid DST file (header check: starts with the correct DST magic; stitch count in the expected range; no truncated bytes). - The test runs in CI on every PR. **Why first:** if this fails, the basic pipeline is broken and all other tests are noise. Land this first to establish the test infra works. --- --- _Decomposed from [easystitch#41](https://forgejo.tail018ac4.ts.net/Mark/easystitch/issues/41)_
Author
Owner

Cross-link: ThreadCraft #11 — e2e SVG→DST test underpins the round-trip acceptance for /v1/digitize.

**Cross-link:** ThreadCraft #11 — e2e SVG→DST test underpins the round-trip acceptance for /v1/digitize.
Mark closed this issue 2026-06-23 13:56:37 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/easystitch#63
No description provided.