technology from back to front

cloverage – a code coverage tool for clojure

A couple years ago we presented a couple design sketches for a code coverage tool for clojure. More recently we spent some time researching whether existing code coverage tools would suffice for our requirements, and after finding out that java based code coverage tools either don’t work at all, or produce unhelpful output, we decided to finally write cloverage. You can find it on github: https://github.com/lshift/cloverage.

To try it out, add the lein-cloverage plugin to your user profile in ~/.lein/profiles.clj:
{:user {:plugins [lein-cloverage "1.0.2"]}}
Then run `lein cloverage` in your project root.

It’s based on a prototype one of our├é┬ácommenters mentioned on Tim’s post. Thanks Mike!

by
Jacek Lach
on
26/01/13
  1. Nice one! Has anyone pinged Tim C. to let him know his design sketch has turned into reality?

  2. Frank Shearar
    on 28/01/13 at 2:39 pm

    Yep, I made sure he knew!

 
 


× seven = 35

2000-14 LShift Ltd, 1st Floor, Hoxton Point, 6 Rufus Street, London, N1 6PE, UK+44 (0)20 7729 7060   Contact us