Skip to content

Commit a031d3b

Browse files
author
Thomas Rabaix
committed
add support for nosetest + coverage
1 parent 446b77b commit a031d3b

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33
build
44
dist
55
ioc.egg-info
6-
docs/_build/
6+
docs/_build/
7+
.coverage
8+
cover

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ python:
88
install: "pip install -r requirements.txt --use-mirrors"
99

1010
# command to run tests
11-
script: unit2 discover
11+
script: nosetests

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
PyYAML
2-
unittest2
2+
unittest2
3+
coverage
4+
nose

setup.cfg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[nosetests]
2+
verbosity=2
3+
with-coverage=1
4+
cover-html=1
5+
cover-inclusive=1
6+
cover-erase=1
7+
cover-package=ioc

0 commit comments

Comments
 (0)