Phase 4 — Add round-trip tests for /v1/export (forked from #25) #34

Closed
opened 2026-07-13 01:54:54 +00:00 by Mark · 2 comments
Owner

Scope: small. Backend tests for /v1/export.

New file: /home/b/Projects/easystitch-service/tests/unit/test_export.py. Round-trip each format (PES, DST, EXP, JEF) through pyembroidery.write → pyembroidery.read. Verify output bytes match the format spec. Error cases (invalid format, empty stitch list) → 422.

Pure test work. ~50 lines.

**Scope: small.** Backend tests for /v1/export. New file: `/home/b/Projects/easystitch-service/tests/unit/test_export.py`. Round-trip each format (PES, DST, EXP, JEF) through `pyembroidery.write` → `pyembroidery.read`. Verify output bytes match the format spec. Error cases (invalid format, empty stitch list) → 422. Pure test work. ~50 lines.
Mark changed title from Decompose: Backend /v1/export and /v1/threads/resolve stub replacements — Phase 4: Add tests for /v1/export to Phase 4 — Add round-trip tests for /v1/export (forked from #25) 2026-07-14 00:44:39 +00:00
Author
Owner

Auto-triage: needs decompose

Marked triage-approved + needs-decompose. decompose-executor will pick this up and break it into implementable sub-issues.

## Auto-triage: needs decompose Marked `triage-approved` + `needs-decompose`. decompose-executor will pick this up and break it into implementable sub-issues.
Author
Owner

Auto-triage: needs decompose

Marked triage-approved + needs-decompose. decompose-executor will pick this up and break it into implementable sub-issues.

## Auto-triage: needs decompose Marked `triage-approved` + `needs-decompose`. decompose-executor will pick this up and break it into implementable sub-issues.
Mark 2026-07-14 02:15:56 +00:00
Sign in to join this conversation.
No description provided.