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/http-requests
real 79m45.204s
user 72m48.342s
sys 8m48.870s
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.
- go-ead-indexer: [see go.mod file]
- dlfa-188_v1-indexer-http-requests: 206386a464e2b1280021571cbd4e73218990c26c
- findingaids_eads_v2: 8d1b8fb6bd45327e90857c77bff8afa66358f4e7