GruntBlanketMocha / grunt-blanket-mocha

Headless Blanket.js code coverage and Mocha testing via PhantomJS
MIT License
53 stars 37 forks source link

Pass code coverage info out through phantomjs #22

Closed jschmidtatet closed 9 years ago

jschmidtatet commented 10 years ago

Scaffolding needed for #14

geekdave commented 10 years ago

Thanks, @jschmidtatet ! Looks intriguing. I had a few comments/questions inline. But also could you please give a high-level overview of how this would be used? Not sure I understand the mechanism.

jschmidtatet commented 10 years ago

@geekdave Thanks Dave! I answered the inline comments with each one. I think the best way to show how this could be used would be by example, but I wasn't quite sure where to put a sample reporter. The reporter I'm working on now is specific to our project's needs, but I could create a really simple one to include with grunt-blanket-mocha. Where in the file tree should I put it?

geekdave commented 10 years ago

Thanks for the comments... still reading through them, but so far makes sense!

As for an example, how about creating a top-level directory called example-reporter. Please include a README inside that directory that explains how to set it up and run it. See the example directory which does something similar just for the plain vanilla reporter.

Thanks for contributing!

geekdave commented 10 years ago

@jschmidtatet ping! Just wanted to follow up on the possibility of a sample reporter to demo your new feature. Thanks again!