tl-its-umich-edu / unizin-validation

Unizin Validation Scripts
1 stars 4 forks source link

Enable running test suite from Docker, add testing notes to README #27

Closed ssciolla closed 1 year ago

ssciolla commented 4 years ago

Since this application is run in production, unit tests are valuable for ensuring correct flags are thrown. We should document how these tests are run and make it possible to do so using Docker.

I found this blog post which seemed somewhat promising: https://dille.name/blog/2019/12/05/creating-advanced-entrypoints-for-containers/

https://docs.docker.com/engine/reference/builder/#entrypoint