Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1006 Bytes

File metadata and controls

32 lines (23 loc) · 1006 Bytes

dlfa-250-set-up-all-ead-test-for-go-ead-indexer-package

Jira: Set up all EAD test for go-ead-indexeread package

Setup:

git clone [email protected]:NYULibraries/dlfa-250-set-up-all-ead-test-for-go-ead-indexer-package.git
cd dlfa-250-set-up-all-ead-test-for-go-ead-indexer-package/
ln -s [PATH TO CLONE OF https://github.com/NYULibraries/go-ead-indexer]

Run the golden files test:

dlfa-250-set-up-all-ead-test-for-go-ead-indexer-package/> ./diff.sh \
> [RELATIVE OR ABSOLUTE PATH]/findingaids_eads_v2 \
> [RELATIVE OR ABSOLUTE PATH]/dlfa-188_v1-indexer-http-requests-xml/http-requests

real    52m25.082s
user    47m13.581s
sys     4m15.262s
dlfa-250-set-up-all-ead-test-for-go-ead-indexer-package/>  

Outputs:

  • diffs/: results of diff [GOLDEN FILE] [ACTUAL FILE] for each golden file if the diff is not empty.
  • logs/: datetime-stamped stdout and stderr logs for the test run.
  • tmp/actual/: actual files for test failures.