October 2016
Intermediate to advanced
418 pages
9h 52m
English
First, we will install the coverage and django-nose packages in our virtual environment. We will make the necessary configurations to use the django_nose.NoseTestRunner class to run all the tests we code and we will use the necessary configurations to improve the accuracy of the test coverage measurements.
Make sure that you quit Django's development server. Remember that you just need to press Ctrl + C in the terminal or the Command Prompt window in which it is running. We just need to run the following command to install the coverage package:
pip install coverage
The last few lines of the output indicate that the django-nose package has been successfully installed:
Collecting coverage Downloading coverage-4.1.tar.gz Installing ...