On Mon, May 20, 2013 at 5:38 PM, Luc Maisonobe <l...@spaceroots.org> wrote:

>
>
>
> Gary Gregory <garydgreg...@gmail.com> a écrit :
>
> >Hi All:
> >
> >I updated my local POM for [io] to commons-parent 29 and ran "mvn
> >site".
> >The Jacoco report shows FileUtils at 0% which makes no sense since we
> >have
> >a FileUtilsTestCase class.
> >
> >Can anyone reproduce this?
>
> I'm not in front of my computer right now. Do the tests end up with
> expected exceptions using the junit4 annotation
>
> @Test(expected=SomeException.class)
>
> I think such expected failures are not handled properly yet by Jacoco.
>

Sigh, I think it is a different issue because as far as I can tell all of
the test that call FileUtils do not use the expected attribute. In fact 90%
of the test classes are JUnit 3 tests and just one test class is a JUnit 4
test case.

This makes Cobertura shine in comparison, and the HTML reports where much
nicer too.

Gary


>
> Luc
> >
> >Thank you,
> >Gary
>
> --
> Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to