ANN: coveralls.io coverage reporting for node.js

140 views
Skip to first unread message

Gregg Caines

unread,
Mar 23, 2013, 10:50:23 PM3/23/13
to nod...@googlegroups.com
Hey all... I just published a rudimentary package for exporting node.js code coverage data to http://coveralls.io/ which lets you add a nifty code coverage button to your package's README, as seen here:  https://github.com/cainus/urlgrey#readme and gives you nice reporting like https://coveralls.io/r/cainus/urlgrey .

Here's the package: https://npmjs.org/package/coveralls 

You need mocha's jscov reporter (or anything that reports in the same format), so you probably need tests in mocha to use this.  It's certainly possible that other coverage reporters use the same format though.  You also need a build running in travis-ci to use this.

If you have a different coverage report format, let me know about it, and I can probably add it.

Any questions/comments/etc are welcome.

G

Outsider (JeongHoon Byun)

unread,
Mar 24, 2013, 5:04:57 AM3/24/13
to nod...@googlegroups.com
Oh! I didn't know about coveralls.io
It's looks good.
I will apply your package to my project.

Thank Gregg


--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
 
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
/************************************************
Outsider (JeongHoon Byun)
Programmer & Hacker

Twitter : @Outsideris
*************************************************/

Daniel Rinehart

unread,
Mar 24, 2013, 1:56:48 PM3/24/13
to nodejs
Will this with work with the reports generated by Istanbul?


--

Gregg Caines

unread,
Mar 24, 2013, 2:28:31 PM3/24/13
to nod...@googlegroups.com
If you send me example json output from istanbul, I can make it work pretty easily... I couldn't figure out what istanbul was outputting from its README other than html.


You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/npo8HaNI5Wk/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.

Gregg Caines

unread,
Mar 24, 2013, 2:32:40 PM3/24/13
to nod...@googlegroups.com
Actually... Istanbul looks like it can generate an lcov .info file.  That should be fine.  I'll give it a go.

G


On Sun, Mar 24, 2013 at 10:56 AM, Daniel Rinehart <dan...@neophi.com> wrote:
You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/npo8HaNI5Wk/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.

Gregg Caines

unread,
Mar 28, 2013, 4:31:35 PM3/28/13
to nod...@googlegroups.com
I'm pretty sure that istanbul's lcov output should work now, in the latest version of coveralls.  Can you let me know if you try it and see any problems?

Thanks!



On Sun, Mar 24, 2013 at 10:56 AM, Daniel Rinehart <dan...@neophi.com> wrote:
You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/npo8HaNI5Wk/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages