PhysicsUofRAUI / lifeLongLearning

https://lifelonglearning.rocks
MIT License
1 stars 0 forks source link

Adding Testing Assistance Tools #39

Closed PhysicsUofRAUI closed 3 years ago

PhysicsUofRAUI commented 4 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.

PhysicsUofRAUI commented 3 years ago

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