mbari-org / vars-annotation

Video Annotation Application for MBARI's Media Management (M3) software stack
https://docs.mbari.org/vars-annotation/
Apache License 2.0
16 stars 6 forks source link

Add integration tests for all API endpoints. #169

Closed hohonuuli closed 7 months ago

hohonuuli commented 7 months ago

As part of mbari-org/annosaurus#18, vars needs integration tests against all endpoints.

hohonuuli commented 7 months ago

The quickest path is to have testing services already running to point it at. Those services should be on a testing database so we can add data to it.

hohonuuli commented 7 months ago

I create a develop branch in m3-microservices. The basic recipe for working on the integration tests is:

  1. Run the database migration scripts on the testing server fog.
  2. Build local docker images for annosaurus and vampires-squid:
    • docker buildx build --load -t mbari/annosaurus:latest .
    • docker buildx build --load -t mbari/vampire-squid:latest .
  3. Using the m3-microservices project, run dev_mbari.sh up