Add instructions for test coverage.

This commit is contained in:
Audrey Roy 2015-08-03 22:20:12 -07:00
parent f31e10042f
commit d4366ce5d5

View File

@ -87,6 +87,14 @@ To create an **superuser account**, use this command::
For convenience, you can keep your normal user logged in on Chrome and your superuser logged in on Firefox (or similar), so that you can see how the site behaves for both kinds of users.
Test coverage
^^^^^^^^^^^^^
To run the tests, check your test coverage, and generate an HTML coverage report::
$ coverage run manage.py test
$ coverage html --include={{ cookiecutter.repo_name }}/*
Live reloading and Sass CSS compilation
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^