# Run within root directory if [ $1 = "html" ]; then coverage run -m pytest && coverage html elif [ $1 = "lcov" ]; then coverage run -m pytest && coverage lcov else coverage run -m pytest && coverage report fi