Testing
Testing makes use of a separate Azure SQL database. Tests can either be run in their own Docker container, which happens when running the DevOps Testing pipeline, or inside the app container:
- Own Docker container:
docker run -rm -t $(docker build -q -f ./docker/app/Dockerfile .) [OPTIONAL PYTEST ARGS]- Or simply:
sh ./test.sh [OPTIONAL PYTEST ARGS] - Inside app container:
docker exec app pytest [OPTIONAL PYTEST ARGS]