taichi / grunt-istanbul

JavaScript codecoverage tool for Grunt
https://www.npmjs.com/package/grunt-istanbul
MIT License
107 stars 36 forks source link

Giving results for files that does not have corresponding test #14

Open athieriot opened 11 years ago

athieriot commented 11 years ago

Hi,

It would be nice to have an option that allows users to display informations about all the Javacript files that need to be tested. (With 0% coverage)

The Istanbul library has such a mecanism but I don't know how it could be embed in this grunt task:

https://github.com/gotwarlost/istanbul/commit/092f336f05fb2aff79684a5eb55e0982dd3ac808

I tried to provide a Pull Request instead of an Issue but I couldn't figure a nice solution :/

Thank you

Aurélien

shaunlimjin commented 10 years ago

It would be great if someone can take a look at this, especially given that istanbul supports this via the '--save-baseline' flag.

Thanks!

gregjopa commented 10 years ago

+1 for this feature.

abelnation commented 10 years ago

+1

iknowcss commented 9 years ago

+1 (assuming this is the same thing I'm after)

istanbul pulled in some code by @gustavnikolaj to address the feature request "Include all source files in the report" (see here). This is available in istanbul v0.3.5 and is activated with the command-line switch --include-all-sources. This could be justification to address issue #25 to upgrade Istanbul.

acvetkov commented 9 years ago

+1