Commit 1afe9133 authored by Angel Velásquez's avatar Angel Velásquez Committed by GitHub
Browse files

Merge pull request #17 from jelly/coverage

README: describe running unit tests / coverage
parents a9dcbbd1 5922d932
language: python
- "2.7"
install: "pip install -r requirements.txt"
install: "pip install -r requirements.txt && pip install coveralls"
- python collectstatic --noinput
- python test
- coverage run --omit='env*' --source='.' test
- coveralls
......@@ -85,6 +85,20 @@ required. A simple debugging SMTP server can be setup using Python.
In change the EMAIL_HOST to 'localhost' and the EMAIL_PORT to
# Running tests and coverage
To the unittests execute the following commands:
./ collectstatic --noinput
./ test
Running coverage:
pip install coverage
coverage run --omit='env*' --source='.' test
coverage report
# Production Installation
Ask someone who knows, or you are going to be in trouble.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment