Closed mazar-farran closed 4 months ago
Currently, the end-to-end test uses shell scripts that compare files produced by ODC-API to a reference.
It would be better if we make use of the HTTP endpoints (like /metadata) and use those for comparison instead.
/metadata
This accomplishes two things
Using a webserver framework for testing instead of current -> tried using supertests (in code base) but not currently working as expected. Deep dive to see what can be done.
Won't do
Currently, the end-to-end test uses shell scripts that compare files produced by ODC-API to a reference.
It would be better if we make use of the HTTP endpoints (like
/metadata
) and use those for comparison instead.This accomplishes two things