Closed PhysicsUofRAUI closed 3 years ago
I would like to have a code coverage tool and a way such that my tests are run every time I commit something.
When in the start of the project directory run
$ coverage run -m unittest discover -p "*_tests.py" $ coverage report -m --omit "*/lll_venv/*"
and that will run all tests and generate a coverage report
I would like to have a code coverage tool and a way such that my tests are run every time I commit something.