#!/bin/bash
what="tests/"
if [[ $# -ge 1 ]]; then
    what="$@"
fi

exec python3 -m pytest -v --log-level=DEBUG --cov=scuba --cov=tests $what

#!/bin/bash
what="tests/"
if [[ $# -ge 1 ]]; then
    what="$@"
fi

exec python3 -m pytest -v --log-level=DEBUG --junit-xml=unit-test-results.xml --cov=scuba --cov=tests $what

Create JUnit XML unit test results
test: Create JUnit XML unit test results
