how to disable nose test's coverage report
Which versions of Django and nose are you using? As far as I'm aware, this is not the default behaviour of Django's test running and it's definitely not default for nose.
The relevant option to give to nose to toggle use of the coverage plugin is "--with-coverage".
I'm not sure you managed to turn coverage on by accident, you should look in settings.py for variables like COVERAGE_MODULES and TEST_RUNNER and see what they're set to.
You can:
pip install nose-cov
Which has more control over reporting options and will not report to console unless you ask it to. Then change --with-coverage
to --with-cov
:
NOSE_ARGS = [
'--with-cov',
'--cov-report', 'html',
]
This will only export to html.
Same question here:
Disabling nose coverage report to STDOUT when HTML report is enabled?