background preloader

Scala test

Facebook Twitter

Scct - Scala Code Coverage Tool. Eh? Scct is a code coverage tool for Scala. News Dec 9, 2012 Support for scala 2.10.0-RC3 and (hopefully) up. Aug 2, 2012 0.2-SNAPSHOT is out! Multiproject goodness for both sbt and maven. Feb 25, 2012 Instructions for Maven updated, should work properly now. Nov 12, 2011 Scala 2.9.1 support. Jun 4, 2011 Now theoretically supports scala 2.9.0-1 and up. What's it look like? What's missing? Mainly, a better-lookin' report UI, a simpler maven configuration. Usage The current 0.2-SNAPSHOT version of scct and it's build-tool plugins for sbt and maven only support scala 2.9 and up, sbt 0.12 and up, and maven 3.0.3 and up. (The old 0.1-SNAPSHOT version supported older versions of scala and sbt. Firstly... Add the plugin to your build with the following in project/build.sbt: resolvers += Classpaths.typesafeResolver resolvers += "scct-github-repository" at " addSbtPlugin("reaktor" % "sbt-scct" % "0.2-SNAPSHOT") Single project builds Run your unit tests with: Then open:

EMMA: a free Java code coverage tool. EclEmma - Java Code Coverage for Eclipse. Cobertura. Open Source Code Coverage Tools in Java.