diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2019-04-04 23:41:40 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2019-04-04 23:41:40 -0400 |
commit | f013c8d8cb06f7c993bbc41519de5ab7dd2ce0c4 (patch) | |
tree | aa1c56be991f8584b47f62d695cb88941fdce638 /README.md | |
parent | b5ed13a7eccddf71fb48d3fe8679f70d786d3fe5 (diff) | |
parent | 7f91c4effbd96b51de2b63323a5ea63b19573f48 (diff) |
Merge branch 'archweb-generic' into lukeshu/masterHEADparabolaweb-2019-04-07masterlukeshu/master
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -20,6 +20,9 @@ but I have given up on maintaining it for parabolaweb. # Archweb README +[![Build Status](https://travis-ci.org/archlinux/archweb.svg?branch=master)](https://travis-ci.org/archlinux/archweb) +[![Coverage Status](https://coveralls.io/repos/github/archlinux/archweb/badge.svg?branch=master)](https://coveralls.io/github/archlinux/archweb?branch=master) + To get a pretty version of this document, run $ markdown README > README.html @@ -105,6 +108,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. |