NCIOCPL / r4r-api

API to support the Resources for Researchers application
0 stars 2 forks source link

Enabler: Add integration tests #12

Closed blairl-nih closed 1 year ago

blairl-nih commented 3 years ago

Add integration tests

Integration tests are needed. PR #11 is a work-in-progress toward this goal, setting up the Docker infrastructure, but lacking the data loading and actual tests.

Potentially, data could be loaded similarly to how it's done in the best bets API, pulling content from a fixed commit in the main branch commit history. (See lines 5 and 44-52 in the best bets load-integratation-data.sh.)