Skip to content

Commit 2e1f84e

Browse files
author
Gauvain Pocentek
committed
Add a coverage tox env
1 parent d2e30da commit 2e1f84e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

test-requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
coverage
12
discover
23
testrepository
34
hacking>=0.9.2,<0.10

tox.ini

+4
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ ignore = H501
2626

2727
[testenv:docs]
2828
commands = python setup.py build_sphinx
29+
30+
[testenv:cover]
31+
commands =
32+
python setup.py testr --slowest --coverage --testr-args="{posargs}"

0 commit comments

Comments
 (0)