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

Allow additional coverage options #19

Open
nwellnhof opened this issue Mar 28, 2015 · 2 comments
Open

Allow additional coverage options #19

nwellnhof opened this issue Mar 28, 2015 · 2 comments

Comments

@nwellnhof
Copy link

The following commit passes additional options from the environment variable COVERAGE_ARGS to the cover tool:

https://github.com/nwellnhof/travis-perl-helpers/commit/1082c49362d179f6fbdd50bbce10c440af0e890b

This can be used to ignore certain files in the coverage reports, for example. If this change is OK, I can submit a pull request that also adds some documentation to the README.

@haarg
Copy link
Member

haarg commented Mar 28, 2015

Does this have any advantages over using Devel::Cover's own DEVEL_COVER_OPTIONS env variable?

@nwellnhof
Copy link
Author

I just tried DEVEL_COVER_OPTIONS but it doesn't have any effect when cover is run. I had a quick look at the source and it seems that this variable is only used when running tests with -MDevel::Cover, not when running the cover tool.

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