Closed fakewaffle closed 9 years ago
I think that is a good idea. I assume you are suggesting that all files that match the glob pattern would be included in the report?
Yes! I think it would more accurately represent coverage.
Do you want to submit a PR for this functionality?
Sure, I don't mind looking into it. Could you point me in the right direction? Do you know what would be filtering files out?
It is not a case of filtering files out, it is a case of the file never being required and therefore never generating any data. If the file never generates any data, the reporting does not know it exists. So you would have to find a way to force require all the files that match so that instrumentation data gets generated.
If you are not comfortable doing the PR, thats ok, I just don't want you and me working on the same thing :-)
Makes sense.
I'd feel more comfortable with you doing it. :)
ok, I will put this in line for the next release :-)
Implemented in version 0.2.25 which was published today
I don't have any tests for the
bootstrap
directory. I think the files should still show up in the coverage report (showing 0% coverage). This is very important for theenforce
task, as someone could just not write any tests and pass. What are your thoughts?