diff --git a/requirements/requirements-testing.txt b/requirements/requirements-testing.txt index a8d5d3229..6900028d3 100644 --- a/requirements/requirements-testing.txt +++ b/requirements/requirements-testing.txt @@ -1,3 +1,4 @@ # PyTest for running the tests. pytest==2.6.4 pytest-django==2.8.0 +pytest-cov==1.8.1 diff --git a/runtests.py b/runtests.py index f795829b5..e99cc65ad 100755 --- a/runtests.py +++ b/runtests.py @@ -8,7 +8,7 @@ import sys import pytest PYTEST_ARGS = { - 'default': ['tests', '--tb=short', '-s'], + 'default': ['tests', '--tb=short', '-s', '--cov', 'rest_framework'], 'fast': ['tests', '--tb=short', '-q', '-s'], }