Add the necessary dependencies such that the Vagrant environment is provisioned with the nose and coverage test packages such that the following commands can be run:
python -m unittest discover #standard python unit test
nosetests -v --rednose --nologcapture #nose unit test; add the '--exe' argument if on Windows
coverage run test_server.py #creating code coverage report, where 'test_server' is the test class
coverage report -m --include=server.py
Add unit tests to ensure that the coverage report states that 95%+ of the project is covered/accounted-for by the test class(es)
Ensure that running the aforementioned commands pass without any failed unit tests
Requirements
nose
andcoverage
test packages such that the following commands can be run:coverage
report states that 95%+ of the project is covered/accounted-for by the test class(es)