Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXCLUDE_FROM_COVERAGE only looks at first part of module name #3

Open
schinckel opened this issue Jan 15, 2010 · 1 comment
Open

EXCLUDE_FROM_COVERAGE only looks at first part of module name #3

schinckel opened this issue Jan 15, 2010 · 1 comment

Comments

@schinckel
Copy link
Contributor

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.

@dominno
Copy link

dominno commented May 21, 2010

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants