1. Mikhail Korobov
  2. django-coverage
  3. Issues
Issue #16 new

Only report coverage for applications in projects by default

created an issue

With django-discover-runner, which is the default test runner in Django 1.6+, only the tests in the project are tested, instead of testing all applications. django-coverage, however, returns coverage reports for every application installed except for those in COVERAGE_MODULE_EXCLUDES.

I don't care about third party application coverage, but filtering it out requires either:

  1. adding each and every third party application to COVERAGE_MODULE_EXCLUDES, which is a major pain

  2. making the module introspection tool respect COVERAGE_PATH_EXCLUDES so I can filter out all libraries in my virtualenv.

  3. django-coverage following discover-runner's lead and only performing coverage reports on code in the project.

Comments (3)

  1. Log in to comment