backend_and_cms/backend/scripts/test.sh

9 lines
141 B
Bash
Executable File

#!/usr/bin/env bash
set -e
set -x
coverage run --source=app -m pytest
coverage report --show-missing
coverage html --title "${@-coverage}"