<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Piraguablog &#187; testing</title>
	<atom:link href="http://www.piragua.com/category/testing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.piragua.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 22 Jun 2010 22:03:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Overhead of setUp and tearDown in unit tests</title>
		<link>http://www.piragua.com/2008/12/03/overhead-of-setup-and-teardown-in-unit-tests/</link>
		<comments>http://www.piragua.com/2008/12/03/overhead-of-setup-and-teardown-in-unit-tests/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 03:39:45 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.piragua.com/?p=19</guid>
		<description><![CDATA[I was watching the output of my Grails unit tests and noticed that tests using the mockDomain feature of the new Testing Plugin seemed to run just slightly slower than straight up unit tests.  This makes sense, as these tests are doing some meta programming magic to add mock dynamic methods and also remove them [...]]]></description>
			<content:encoded><![CDATA[<p>I was watching the output of my Grails unit tests and noticed that tests using the mockDomain feature of the new <a href="http://grails.org/Testing+plugin" onclick="javascript:pageTracker._trackPageview('/outbound/article/grails.org');">Testing Plugin</a> seemed to run just slightly slower than straight up unit tests.  This makes sense, as these tests are doing some meta programming magic to add mock dynamic methods and also remove them after each test run &#8211; and that takes a little extra time.  But time is the enemy of testing, and I want my tests to run as fast as possible.  That way I&#8217;m not discouraged from writing them or running them on a consistent basis.</p>
<p>So I&#8217;ve started writing tests a little differently and have been trying to reduce the number of times setUp() and tearDown() are called within a test class.  This is probably a good practice, regardless of the unit testing mechanism you&#8217;re using.  Here&#8217;s an example &#8211; I used to have really verbose test methods, like this:</p>

<div class="wp_syntax"><div class="code"><pre class="groovy">testFirstNameBlankConstraint<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>...<span style="color: #66cc66;">&#125;</span>
testFirstNameNullableConstraint<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>...<span style="color: #66cc66;">&#125;</span>
testFirstNameMaxSizeConstraint<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>...<span style="color: #66cc66;">&#125;</span>
testFirstNameValid<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>...<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>I like this pattern because each test method tested <strong>one</strong> thing &#8211; so if the test method failed, it was pretty obvious what went wrong.</p>
<p>However, setUp and tearDown methods were being called for each of these test methods which added some extra time to run the test suite.  In a relatively small project, the time is so negligible it doesn&#8217;t matter.  But on a large project with thousands of tests, it can be a noticeable difference. </p>
<p>Now when I&#8217;m writing my tests, I set &#8216;em up more like this:</p>

<div class="wp_syntax"><div class="code"><pre class="groovy">testFirstNameConstraint<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
    <span style="color: #808080; font-style: italic;">// some test code</span>
    assertEquals <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;blank constraint&quot;</span>, ..., ...<span style="color: #66cc66;">&#41;</span>
&nbsp;
    <span style="color: #808080; font-style: italic;">// some test code</span>
    assertEquals <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;null constraint&quot;</span>, ..., ...<span style="color: #66cc66;">&#41;</span>
&nbsp;
    <span style="color: #808080; font-style: italic;">// some test code</span>
    assertEquals <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;max size constraint&quot;</span>, ..., ...<span style="color: #66cc66;">&#41;</span>
&nbsp;
    <span style="color: #808080; font-style: italic;">// some test code</span>
    assertEquals <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;valid&quot;</span>, ..., ...<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>In this example, the same testing is occurring, but I have only one test method instead of four (three less calls to setUp and tearDown).  By passing a message as the first parameter to the assertions, I can still quickly determine which assertion failed, and my test suite runs more quickly.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.piragua.com/2008/12/03/overhead-of-setup-and-teardown-in-unit-tests/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Added generate-unit-test-case script to Test Template plugin</title>
		<link>http://www.piragua.com/2008/11/16/added-generate-unit-test-case-script-to-test-template-plugin/</link>
		<comments>http://www.piragua.com/2008/11/16/added-generate-unit-test-case-script-to-test-template-plugin/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 01:46:22 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[grails]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.piragua.com/?p=18</guid>
		<description><![CDATA[As pointed out in the docs for the Grails Testing Plugin, constraints often contain a lot of logic for your application and are rarely tested. To help out with that, the Test Template plugin now provides a script that will create a stub of a unit test for you for a given domain class.
For example, [...]]]></description>
			<content:encoded><![CDATA[<p>As pointed out in the docs for the <a href="http://www.grails.org/Testing+Plugin#mockForConstraintsTests(class, testInstances = [])" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.grails.org');">Grails Testing Plugin</a>, constraints often contain a lot of logic for your application and are rarely tested. To help out with that, the Test Template plugin now provides a script that will create a stub of a unit test for you for a given domain class.<br />
For example, say you had the following domain class:</p>

<div class="wp_syntax"><div class="code"><pre class="groovy"><span style="color: #000000; font-weight: bold;">class</span> <span style="color: #aaaadd; font-weight: bold;">Book</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #aaaadd; font-weight: bold;">String</span> title
	<span style="color: #aaaadd; font-weight: bold;">String</span> subTitle
	<span style="color: #aaaadd; font-weight: bold;">Date</span> publishedDate
	<span style="color: #000000; font-weight: bold;">static</span> constraints <span style="color: #66cc66;">=</span> <span style="color: #66cc66;">&#123;</span>
		title<span style="color: #66cc66;">&#40;</span>nullable:<span style="color: #000000; font-weight: bold;">false</span>, blank:<span style="color: #000000; font-weight: bold;">false</span>, <span style="color: #663399;">size</span>:<span style="color: #cc66cc;">1</span>..<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span>
		publishedDate<span style="color: #66cc66;">&#40;</span>nullable:<span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#125;</span>	
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>With the plugin installed, type &#8220;grails generate-domain-unit-test Book&#8221;</p>
<p>The plugin will generate and stub out a unit test for you in test/unit/BookUnitTests.groovy. It&#8217;s not completely magic &#8211; you still need to do some work now:</p>
<ul>
<li>in the setup method, fill in all the properties that would make your domain class validate</li>
<li>in each test method, write test code that will test your constraints. The plugin provides comments indicating which constraints are applied to a given property, you just need to write the test code.</li>
</ul>
<p>Here&#8217;s what a stubbed unit test looks like out of the box:</p>

<div class="wp_syntax"><div class="code"><pre class="groovy"><span style="color: #a1a100;">import grails.test.GrailsUnitTestCase</span>
<span style="color: #000000; font-weight: bold;">class</span> BookUnitTests <span style="color: #000000; font-weight: bold;">extends</span> GrailsUnitTestCase <span style="color: #66cc66;">&#123;</span>
    <span style="color: #aaaadd; font-weight: bold;">Book</span> book 
    <span style="color: #993333;">void</span> setUp<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">super</span>.<span style="color: #006600;">setUp</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
        <span style="color: #808080; font-style: italic;">// in testing-plugin 0.4 you can just do &quot;mockForConstraintsTests(Book)&quot; instead of these two lines</span>
        registerMetaClass<span style="color: #66cc66;">&#40;</span><span style="color: #aaaadd; font-weight: bold;">Book</span><span style="color: #66cc66;">&#41;</span> 
        grails.<span style="color: #006600;">test</span>.<span style="color: #006600;">MockUtils</span>.<span style="color: #006600;">prepareForConstraintsTests</span><span style="color: #66cc66;">&#40;</span><span style="color: #aaaadd; font-weight: bold;">Book</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #808080; font-style: italic;">// TODO - fill out this book instance so it validates</span>
	book <span style="color: #66cc66;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #aaaadd; font-weight: bold;">Book</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
        assertTrue <span style="color: #ff0000;">&quot;setup method: book should validate&quot;</span>, 
			book.<span style="color: #006600;">validate</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
        <span style="color: #66cc66;">&#125;</span>
	<span style="color: #993333;">void</span> testTitleConstriants<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>		 
		<span style="color: #808080; font-style: italic;">//test org.codehaus.groovy.grails.validation.NullableConstraint@de1237[false]  </span>
		<span style="color: #808080; font-style: italic;">//test org.codehaus.groovy.grails.validation.BlankConstraint@7bc5fd[false]  </span>
		<span style="color: #808080; font-style: italic;">//test org.codehaus.groovy.grails.validation.SizeConstraint@36f09[1..100] </span>
	<span style="color: #66cc66;">&#125;</span>	
	<span style="color: #993333;">void</span> testPublishedDateConstriants<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>		
		<span style="color: #808080; font-style: italic;">//test org.codehaus.groovy.grails.validation.NullableConstraint@6ec9d4[true] </span>
	<span style="color: #66cc66;">&#125;</span>	
	<span style="color: #993333;">void</span> testSubTitleConstriants<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>		
		<span style="color: #808080; font-style: italic;">//test org.codehaus.groovy.grails.validation.NullableConstraint@849937[false] </span>
	<span style="color: #66cc66;">&#125;</span>	
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>This is helpful in reminding you what you actually need to test &#8211; for example, did you remember that by not defining a constraint for the &#8217;subTitle&#8217; property, grails makes it a non-nullable field?  </p>
<p>By the way, the script also works with the uber generate feature of Grails 1.0.4 &#8211; so if you have lots of domain classes and want to generate unit tests for all of them in one fell swoop, you can type:</p>
<pre>
grails generate-domain-unit-test "*"
</pre>
<p>and it will stub out unit tests for all your domain classes.</p>
<p>I&#8217;m thinking future versions of the plugin could go even further by offering:</p>
<ul>
<li>A &#8216;verbose&#8217; template that would create multiple test methods for each possible test scenario for a given constraint, for instance a &#8217;size:5..100&#8242; constraint could generate test methods for:</li>
<ul>
<li>a string with a size of 4 (e.g. less than the minimum)</li>
<li>a string with a size of 101 (e.g. more than the maximum)</li>
<li>a string with a size of 50 (e.g. within the bounds of the constraint)</li>
</ul>
<li>Actually write the test code.  Not sure if I&#8217;m totally warmed up to this idea yet, but it may be worth looking into.  Contributions welcome, of course <img src='http://www.piragua.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>Give it a shot.  You can install the plugin by running the following commands:</p>
<pre>
grails install-plugin testing
grails install-plugin test-template
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.piragua.com/2008/11/16/added-generate-unit-test-case-script-to-test-template-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generated Controller Test Cases</title>
		<link>http://www.piragua.com/2008/11/16/generated-controller-test-cases/</link>
		<comments>http://www.piragua.com/2008/11/16/generated-controller-test-cases/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 15:04:11 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[grails]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.piragua.com/?p=17</guid>
		<description><![CDATA[The generated controller scaffolding from Grails is a great tool for learning the framework quickly.  It provides examples of controllers, controller actions, simple GORM methods on your domain classes, Groovy Server Pages and tag libraries &#8211; everything you need to get started &#8211; EXCEPT for how to unit test the stuff.
I&#8217;ve always thought a [...]]]></description>
			<content:encoded><![CDATA[<p>The generated controller scaffolding from Grails is a great tool for learning the framework quickly.  It provides examples of controllers, controller actions, simple GORM methods on your domain classes, Groovy Server Pages and tag libraries &#8211; everything you need to get started &#8211; EXCEPT for how to unit test the stuff.</p>
<p>I&#8217;ve always thought a good addition to Grails would be the ability to generate unit tests for all that scaffolding code in your generated controllers.  With the advent of testing enhancements coming to Grails 1.1 and the <a href="http://www.grails.org/Testing+Plugin" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.grails.org');">Grails Testing Plugin</a> making it much easier to unit test Grails artifacts, this is more of a reality.</p>
<p>So I buckled down and created a plugin with a template for testing generated controllers.  If you&#8217;re on Grails 1.0.4, it hooks directly into events in the build system to create the unit test file automagically.  If you haven&#8217;t upgraded yet and you&#8217;re still on Grails 1.0.3, there&#8217;s a script you can call to generate the unit test manually.</p>
<p>I decided to make the Testing Plugin a pre-requisite for the &#8220;Test Template&#8221; plugin, since it makes the test code SO much easier to write.  So to get started, run &#8220;<strong>grails install-plugin testing</strong>&#8220;, followed by &#8220;<strong>grails install-plugin test-template</strong>&#8220;.  Here&#8217;s an small example:</p>
<pre>
grails create-app bookstore
cd bookstore
grails install-plugin testing
grails install-plugin test-template
grails create-domain-class Book
grails generate-controller Book (or you could run generate-all Book)
</pre>
<p>If you have Grails 1.0.4, that last line will generate the controller for you AND also generate a unit test (test/unit/BookControllerUnitTests.groovy).  The unit test will have test methods for each controller action, with several test methods for each of the actions that have if/else statements in them.  </p>
<p>If you have Grails 1.0.3, you have to manually generate the unit test, which you can do with this line:</p>
<pre>
grails generate-controller-unit-test Book
</pre>
<p>Yes, that&#8217;s a long command name, but what are you doing still on Grails 1.0.3 anyway?  Grails 1.0.4 has been out for like 48 hours &#8211; go upgrade already!</p>
<p>Now run your test suite (grails test-app) and watch your newly generated tests scroll by!</p>
<p>The plugin uses the createArtefact method in Init.groovy, so it also handles packages:</p>
<pre>
grails create-domain-class com.pirgaua.Book
grails generate-controller com.piragua.Book
// -> generates test/unit/com/piragua/BookControllerUnitTests.groovy
</pre>
<p>And, it also handles the new &#8220;uber-generate&#8221; feature in 1.0.4 (courtesy of <a href="http://marceloverdijk.blogspot.com/2008/05/uber-generate-all.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/marceloverdijk.blogspot.com');">Marcel Overdijk</a> and <a href="http://jira.codehaus.org/browse/GRAILS-2946" onclick="javascript:pageTracker._trackPageview('/outbound/article/jira.codehaus.org');">GRAILS-2946</a>:</p>
<pre>
grails create-domain-class Book
grails create-domain-class Author
grails create-domain-class Store
grails create-domain-class Cart
// edit your domain classes and add properties, constraints, etc...
grails generate-all "*"
// -> generates controllers, views, and controller unit tests for ALL your domain classes
</pre>
<p>And you can override the plugin provided template, just run &#8220;grails install-test-templates&#8221; and modify the template code to suit your own needs (the templates are copied to src/templates/artifacts/test-templates).</p>
<p>Speaking of the next version &#8211; the next feature I want to add to the plugin is a way to generate a unit test for testing domain constraints.  Stay tuned!</p>
<p>More documentation on the <a href="http://www.grails.org/TestTemplate+Plugin" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.grails.org');">Test Template</a> plugin page at grails.org</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piragua.com/2008/11/16/generated-controller-test-cases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing Plugin Presentation</title>
		<link>http://www.piragua.com/2008/11/12/testing-plugin-presentation/</link>
		<comments>http://www.piragua.com/2008/11/12/testing-plugin-presentation/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 23:40:56 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[grails]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.piragua.com/?p=15</guid>
		<description><![CDATA[Last night I presented at the Minneapolis Groovy/Grails User Group meeting about the new Grails Testing Plugin created by Peter Ledbrook and G2One.  You can download the presentation in PDF form and browse through the sample code on GitHub (check out the test/unit directory).  The plugin makes it really simple to write unit tests in [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I presented at the Minneapolis <a href="http://groovy.mn/" onclick="javascript:pageTracker._trackPageview('/outbound/article/groovy.mn');">Groovy/Grails User Group</a> meeting about the new <a href="http://www.grails.org/Testing+Plugin" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.grails.org');">Grails Testing Plugin</a> created by Peter Ledbrook and G2One.  You can download the presentation in <a href="http://github.com/mjhugo/bookstore/tree/master/GrailsTestingPlugin.pdf" onclick="javascript:pageTracker._trackPageview('/outbound/article/github.com');">PDF form</a> and browse through the <a href="http://github.com/mjhugo/bookstore/tree/master" onclick="javascript:pageTracker._trackPageview('/outbound/article/github.com');">sample code</a> on GitHub (check out the <a href="http://github.com/mjhugo/bookstore/tree/master/test/unit" onclick="javascript:pageTracker._trackPageview('/outbound/article/github.com');">test/unit</a> directory).  The plugin makes it really simple to write unit tests in Grails and is a huge step in the right direction towards making test driven development a reality for Grails projects.  Check out the examples and give the plugin a try!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piragua.com/2008/11/12/testing-plugin-presentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accurate branch reports with Grails and Cobertura _1.8_</title>
		<link>http://www.piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/</link>
		<comments>http://www.piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 02:35:06 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[grails]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/</guid>
		<description><![CDATA[I&#8217;m trying to figure out why Cobertura coverage reports on my Groovy and Grails code don&#8217;t show the branch coverage that I expect they should.  I noticed that at some point in the past, Cobertura did show a correct branch report.  So I tried the grails code-coverage plugin with Cobertura version 1.8:

TADA!  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to figure out why Cobertura coverage reports on my Groovy and Grails code <a href="/2008/01/27/branch-you-say-what-branch">don&#8217;t show the branch coverage that I expect they should</a>.  I noticed that at some point in the past, Cobertura did show a <a href="http://groovy.codehaus.org/Test+Coverage" onclick="javascript:pageTracker._trackPageview('/outbound/article/groovy.codehaus.org');" target="_blank">correct branch report</a>.  So I tried the grails code-coverage plugin with Cobertura <strong>version 1.8</strong>:</p>
<p><img src="http://piragua.com/wp-content/uploads/2008/01/100percentbranchcoverage.jpg" alt="100% Branch Coverage" /></p>
<p>TADA!  Now the reports are showing the coverage I expect. I know Cobertura (version 1.9) improved on the way it calculates branch coverage (see the news item from <span class="date">5 June 2007</span> on the <a href="http://cobertura.sourceforge.net/" onclick="javascript:pageTracker._trackPageview('/outbound/article/cobertura.sourceforge.net');" target="_blank">Cobertura</a> website) but for my purposes, Cobertura 1.8 gives me more of the information that I need.  I&#8217;m mostly concerned with finding code that isn&#8217;t tested at all, and that&#8217;s hard to do when almost every line of code is highlighted in red like version 1.9 was doing:</p>
<p><a href="http://piragua.com/wp-content/uploads/2008/01/branchCoverageController.jpg"  title="Branch Coverage on StateController"><img src="http://piragua.com/wp-content/uploads/2008/01/branchcoveragecontroller.thumbnail.jpg" alt="Branch Coverage on StateController" /></a></p>
<p>So for now I&#8217;ve updated the Grails <a href="http://plugins.grails.org/grails-code-coverage/trunk/grails-code-coverage-0.4.1.zip" onclick="javascript:pageTracker._trackPageview('/outbound/article/plugins.grails.org');">code-coverage plugin</a> to utilize Cobertura 1.8.  I can live without the new features that 1.9 offers and in the meantime I&#8217;ll work with the cobertura-devel folks to see if there&#8217;s something that we can improve for a future release.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piragua.com/2008/01/31/accurate-branch-reports-with-grails-and-cobertura-_18_/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
