Skip to content

Add fixtures (example files) for each transaction set #181

@kputnam

Description

@kputnam

These transaction sets don't yet have any fixtures, so there aren't any automated tests to ensure their definitions can parse actual files. Even though these might be correct and working fine now, adding fixtures will help prevent any inadvertent regressions when changes are made to other parts of the library.

It is fairly straightforward to add fixtures, just look in spec/fixtures for examples. Then you can run rspec -Ilib -Ispec -rspec_helper --tag fixtures spec to test them (or you can run rake spec to run all specs).

If you have files but want to remove any sensitive information, you can use bin/edi-obfuscate to replace all strings, dates, times, and numbers with placeholder values, before adding to the repository.

  • 002001/FA997
  • 002001/PO830
  • 002001/SH856
  • 003010/PC860
  • 003010/PO850
  • 003010/PS830
  • 003010/RA820
  • 003040/WA142
  • 003050/PO850
  • 004010/AR943
  • 004010/FA997
  • 004010/GF990
  • 004010/HP835
  • 004010/IM210
  • 004010/OW940
  • 004010/PO850
  • 004010/PR855
  • 004010/PS830
  • 004010/QM214
  • 004010/RE944
  • 004010/SC832
  • 004010/SH856
  • 004010/SM204
  • 004010/SQ866
  • 004010/SS862
  • 004010/SW945
  • 004010/X091A1 HP835
  • 005010/X214 HN277
  • 005010/X220 BE834
  • 005010/X221 HP835
  • 005010/X222 HC837
  • 005010/X222 HC837
  • 005010/X222A1 HC837
  • 005010/X223 HC837
  • 005010/X223 HC837
  • 005010/X223A1 HC837
  • 005010/X223A3 HC837
  • 005010/X231 FA999
  • 005010/X279 HS270

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions