diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2017-05-13 01:44:09 +0200 |
---|---|---|
committer | Jelle van der Waa <jelle@vdwaa.nl> | 2017-05-13 01:44:09 +0200 |
commit | 2585c80155beb3b136ed8d97912462d6d8e35822 (patch) | |
tree | c13a2bd4d64740bcb698d2c90ea0baae40512db7 /README.md | |
parent | 1d8dd5079526b2855391fb6c6408e474568f28f0 (diff) | |
download | archweb-2585c80155beb3b136ed8d97912462d6d8e35822.tar.gz archweb-2585c80155beb3b136ed8d97912462d6d8e35822.zip |
README: describe running unit tests / coverage
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -85,6 +85,20 @@ required. A simple debugging SMTP server can be setup using Python. In local_settings.py change the EMAIL_HOST to 'localhost' and the EMAIL_PORT to 1025. +# Running tests and coverage + +To the unittests execute the following commands: + + ./manage.py collectstatic --noinput + ./manage.py test + +Running coverage: + + pip install coverage + coverage run --omit='env*' --source='.' manage.py test + coverage report + + # Production Installation Ask someone who knows, or you are going to be in trouble. |