Skip to content
This repository has been archived by the owner on Oct 12, 2020. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ksator committed Aug 30, 2016
1 parent 4092169 commit 6f4ab72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pip install pytest
###doctest
The doctest module searches for pieces of text that look like interactive Python sessions, and then executes those sessions to verify that they work exactly as shown.
https://docs.python.org/2/library/doctest.html
Pytest supports doctests with the --doctest-modules flag.
Pytest supports doctests with the **--doctest-modules** flag.

**maths3.py** is using doctests. the tests are in the code comment.

Expand All @@ -72,8 +72,8 @@ pytest-cov installation:
pip install pytest-cov
```

use the option --cov to mesure coverage.
with the option --cov-report term-missing, we can see which lines are not covered.
use the option **--cov** to mesure coverage.
with the option **--cov-report term-missing**, we can see which lines are not covered.

###Travis CI
to make these tests and reports automatic, we use a github webhook with Travis CI.
Expand Down

0 comments on commit 6f4ab72

Please sign in to comment.