Ship It! LIVEShip It! LIVE
home about services writing contact

We develop, test, and create fine software products, and design creative solutions to your problems.
The development of software is an intrinsically creative process. We are dedicated to improving our mastery of the art.
Links · RSS Feed
Popular Pages

More practical advice from the pragmatic crew. This is another excellent book from the guys at Pragmatic. In this book Jared and William cover pragmatic project management with down to earth advic...
-Jack D. Herrington
Do it right from day one or you never will
-Andy Hunt
That's got to be one of the *best* choice of title since the Mythical Man Month!!
-Kenneth Sizer

Java Code Coverage: Cobertura 1.9 Released (Jun 7)
It sounds like the Cobertura team has added some nice features to the 1.9 release. If you've not used a code coverage tool before, you should take a look. It's open source (so the price is right) and it'll show you exactly what your test code is (isn't) doing, which is the first step to improving your tests.

Thanks to John Lewis for letting me know about the latest release.

From the Cobertura Sourceforge page page:

We've released Cobertura 1.9! There is much improved branch/conditional coverage and a new maxmemory attribute that can be used if instrumentation needs more memory. See below for the full list of changes.

  • Much improved branch/conditional coverage. Information on whether the true as well as the false of an if statement is collected. Also, information on the branches of a switch statement (including the default) is collected. (Jiří Mareš)
  • Assume Java source files are saved as UTF-8 instead of the computer's default encoding.
  • Write all HTML and XML reports in UTF-8 instead of the computer's default encoding (Naoki Iwami).
  • Fix a bug where the Cobertura ant tasks would not work correctly in Microsoft Windows when Cobertura was installed on a different drive than the drive from which you're running ant (Srivathsan Varadarajan).
  • Added a "maxmemory" attribute to the instrument, merge and report ant tasks (Matt Cordes).
  • Improve support for Maven and similar environments where control over system properties is difficult such as app servers, IoC containers, IDEs, etc. Setting the datafile location is difficult in these environments. To correct this, a cobertura.properties file located in the classpath is used to properly set the net.sourceforge.cobertura.datafile property. (Joakim Erdfelt)

Category: Java

TISQA Software Testing Conference - Leap Into Testing for Tomorrow (2012-02-29)
My "Practical Test Automation" talk discusses why, and who, should be writing tests. (Hint, invite developers to this talk!)


© 2007 Agile Artisans.