From d4366ce5d58b626b4ef0cb2498f31046c65b1629 Mon Sep 17 00:00:00 2001 From: Audrey Roy Date: Mon, 3 Aug 2015 22:20:12 -0700 Subject: [PATCH] Add instructions for test coverage. --- {{cookiecutter.repo_name}}/README.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/{{cookiecutter.repo_name}}/README.rst b/{{cookiecutter.repo_name}}/README.rst index 786232f5..089e0716 100644 --- a/{{cookiecutter.repo_name}}/README.rst +++ b/{{cookiecutter.repo_name}}/README.rst @@ -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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^