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

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

Phase 3: Raster → DST round trip

Tests the raster converter path (not the SVG path). The HTTP service
ingests rasters (PNG/JPG), so this is the path ThreadCraft exercises
most often.

Files:

  • Modify: tests/test_pipeline_e2e.py
  • New: data/test_fixtures/simple_square.png (a known raster)

Acceptance:

  • process(simple_square.png, output_format="dst") produces a valid
    DST.
  • The raster-to-SVG conversion happened (verified by checking that
    the pipeline stages were exercised, per issue #35).

Depends on: P1, P2.



Decomposed from easystitch#41

## Phase 3: Raster → DST round trip Tests the raster converter path (not the SVG path). The HTTP service ingests rasters (PNG/JPG), so this is the path ThreadCraft exercises most often. **Files:** - Modify: `tests/test_pipeline_e2e.py` - New: `data/test_fixtures/simple_square.png` (a known raster) **Acceptance:** - `process(simple_square.png, output_format="dst")` produces a valid DST. - The raster-to-SVG conversion happened (verified by checking that the pipeline stages were exercised, per issue #35). **Depends on:** P1, P2. --- --- _Decomposed from [easystitch#41](https://forgejo.tail018ac4.ts.net/Mark/easystitch/issues/41)_
Author
Owner

Cross-link: ThreadCraft #11 — raster path test for the most common input type (PNG/JPG upload).

**Cross-link:** ThreadCraft #11 — raster path test for the most common input type (PNG/JPG upload).
Mark 2026-06-23 14:36:56 +00:00
  • closed this issue
  • removed the
    quickfix
    label
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#65
No description provided.