caolan / nodeunit

Easy unit testing in node.js and the browser, based on the assert module.
MIT License
1.9k stars 370 forks source link

jscoverage support #49

Open mikebannister opened 13 years ago

mikebannister commented 13 years ago

Switched from expresso and really like the jscoverage integration so I stole enough code from expresso to display the jscoverage info. Might be nice to include something similar, but better, w/ nodeunit.

mikebannister commented 13 years ago

URL might be nice

http://github.com/mikebannister/nodeunit-coverage

caolan commented 13 years ago

Yes, I'd definitely like to add jscoverage support. I'll take a look at your code and see if I can find a nice way to integrate it with nodeunit :)

markfink commented 13 years ago

Hi Caolan, it is not clear to me how to use jscoverage with nodeunit. Does the above discussion mean that it works. The above mentioned repo is gone. Do you still have it? Does it work?

Regards, Mark

peterbe commented 13 years ago

@mikebannister ping! where's the code gone?

arunoda commented 13 years ago

I've added Expresso's test coverage support here. have a look at my pull request. https://github.com/caolan/nodeunit/pull/74