Skip to content

Commit db40b7e

Browse files
committed
Add coverage to runtests. Closes #2936.
1 parent a8acdbc commit db40b7e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: requirements/requirements-testing.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# PyTest for running the tests.
22
pytest==2.6.4
33
pytest-django==2.8.0
4+
pytest-cov==1.8.1

Diff for: runtests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import pytest
99

1010
PYTEST_ARGS = {
11-
'default': ['tests', '--tb=short', '-s'],
11+
'default': ['tests', '--tb=short', '-s', '--cov', 'rest_framework'],
1212
'fast': ['tests', '--tb=short', '-q', '-s'],
1313
}
1414

0 commit comments

Comments
 (0)