Skip to content

Commit 361e37d

Browse files
committed
Add configuration to help run coverage.py
1 parent 04ab840 commit 361e37d

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.coveragerc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[run]
2+
source = couchdb
3+
4+
[report]
5+
omit = couchdb/tests/*

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ build/*
44
dist/*
55
doc/build/*
66
.tox
7+
.coverage

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ doc:
1414

1515
upload-doc:
1616
python setup.py upload_sphinx
17+
18+
coverage:
19+
PYTHONPATH=. coverage run couchdb/tests/__main__.py
20+
coverage report

0 commit comments

Comments
 (0)