diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2019-04-04 23:39:27 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2019-04-04 23:39:27 -0400 |
commit | 7f91c4effbd96b51de2b63323a5ea63b19573f48 (patch) | |
tree | c4aad35c386a11691edf57aa9c159608077b928d /README.md | |
parent | a526410f2a5be83c0b853bb4e7624c77997ccd61 (diff) | |
parent | 063784db760a85236068a8bbacd01af2d1036d4b (diff) |
Merge tag 'release_2017-05-24' into archweb-genericarchweb-generic
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,5 +1,8 @@ # 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 @@ -85,6 +88,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. |