TEST-FIXTURE-EDI
Fixed EDI dataset for reproducible tests.
Definition
EDI fixtures are stored in /test/fixtures/ with naming conventions (ORDERS-D96A-001.edi). Must be deterministic (no variable timestamp), cover nominal and edge cases. Used with snapshot testing to detect parsing/mapping regressions.
Origin
Pattern derived from XP testing practice (1999).
Example in context
fixtures/orders-d96a-with-discounts.edi is used in 8 Vitest unit tests.
Related terms
- Synthetic data EDI — generated alternative.