This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Scala code coverage - Eclipse plugin based on Cobertura

No replies
Joachim Hofer
Joined: 2010-03-14,
User offline. Last seen 42 years 45 weeks ago.

I've created an Eclipse plugin that attempts to visualize code coverage
and is based on Cobertura. This means that it works for Scala as well as
Java, mostly, now that I've added the "Scala application" launch type
(defined by the Scala Eclipse plugin) to it.

However, as of now, it's only doing a few basics:
* loading Cobertura *.ser files,
* launching a covered run mode from Eclipse,
* coverage-based coloring in editors,
* a tree view of the packages and classes in a coverage session.

You can find it here: http://github.com/jmhofer/eCobertura

Coverage in Scala is not quite as straightforward as in Java... - But
still, if anyone has a use for this, enjoy!

Joachim Hofer

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland