To run test cases : coverage run -m pytest app/tests To run test cases with coverage report : coverage run -m pytest app/tests && coverage report To run test cases with coverage report and html report : coverage run -m pytest app/tests && coverage report && coverage html