ONSdigital / dp-find-insights-poc-api

Find Insights Proof of Concept
MIT License
1 stars 0 forks source link

add extra as flag to inttests, add local + nonlocal urls #108

Closed VivianAllen closed 2 years ago

VivianAllen commented 2 years ago

What

Change 'extra' (more verbose) test option from cl arg to flag. This change needed to allow multiple test options to be passed in different combinations.

Add non-local and local base URLs to test case definitions. Add 'local' flag to control tests being run against remote or locally-running API. These changes needed to allow tests to run locally.

How to review

pull code, run make test, run make test-local

Who can review

Anyone

NB - the CORS headers are missing from locally-running code! (OOS here but needs fixing)