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
Coverage drops to zero at certain configurations #66
Comments
I tested against your repository, bug with multiple values on src attributes is confirmed, however one with includeAllSources I cannot reproduce, I will test more and let you know tomorrow. |
Ok I have I got why second case when includeAllFiles causes to report no coverage was generated our helpers run this code:
Seems when you run vm.runInThisContext some stuff in global namespace got garbled. I will try to investigate tomorrow more. |
@Drachenfels thanks for the issue, looks like an intereting challenge! |
The second thing includeAllFiles might be not related to this plugin, something tells me that. However I did not figured it out exactly what is going on, so consider it a heads up not a confirmed issue. :-) Thanks! Good job with the plugin! |
Closing as not confirmed to be a bug withing this project. |
Hi there,
I do not have as yet fully working example (I mean reproduce-able bug that you can git clone), but what we know so far.
Everything works with configuration like this:
When you change:
Into:
Coverage is gone.
For that matter if you put more than one value on that list, coverage disappears.
Same happens when you change includeAllSources from false to true. Coverage is gone, despite the fact getting some results from istanbul.
When you remove 'src' section AND change includeAllSources from false to true, coverage is back but not on files that were actually executed by running tests, for those files it will be zero.
The text was updated successfully, but these errors were encountered: