abepetrillo/evergreen

Create Coverage tools?

Closed this issue · 2 comments

It'd be really awesome to have jasmine/evergreen-based js coverage tools. I may write, but wanted to put this somewhere so it was on radar for more ambitious people than myself.

+1 for the need, there is an interesting approach done here:

http://www.denniskuczynski.com/2012/06/15/checking-your-evergreen-test-coverage-with-jscoverage.html

Haven't tried this out yet, but looks like a good temporary solution until we find a way of configuring evergreen.

Thanks for the blog post shout-out. :-)

I decided on that end around approach after deciding the configuration options of running instrumented js files would be a little messy. But it's definitely possible. I came across this patch in my searching: hjdivad/jasmine-gem@086d4c5

Perhaps some kind of middleware would be a good fit...