django-test-extensions icon indicating copy to clipboard operation
django-test-extensions copied to clipboard

EXCLUDE_FROM_COVERAGE only looks at first part of module name

Open schinckel opened this issue 15 years ago • 1 comments

I like to exclude the django.contrib stuff from my coverage testing. If you put the 'django.contrib.*' stuff into this settings variable, they still get coverage tested. If you just use 'django', then they are not tested:

codecoverage.py line 37 only looks at the first part of the path.

schinckel avatar Jan 15 '10 02:01 schinckel

It would be also good if one could use regular expressions when defining exclude modules, just like in django-coverage. Look here http://bitbucket.org/kmike/django-coverage/src/tip/django_coverage/settings.py

dominno avatar May 21 '10 19:05 dominno