commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [VOTE] Release Commons Math 3.0 (RC3)
Date Mon, 05 Mar 2012 13:20:07 GMT
On Mon, Mar 5, 2012 at 2:57 AM, S├ębastien Brisard <sebastien.brisard@m4x.org
> wrote:

> Hi,
>
> >> How about adding a test coverage report (Cobertura) like a lot of other
> >> components do?
> >
> > There was one a long time ago. It was suppressed when we had concerns
> > about some GPL scripts used in the generated HTML reports. The concerns
> > have been solved later on but we failed to bring the reports back.
> >
> > It would be nice. Would this only mean adding a plugin in the pom ?
> >
> There is indeed a plugin which is developed independently from the
> main Cobertura project [1]. However, my experience is that Cobertura
> considerably slows down the unit tests, which might be a problem for
> us, as some of our tests can be quite involved numerically. While I
> would love to see a Cobertura report on CM3, I would also like to have
> a kind of -DskipCobertura flag. Does anyone know about this feature?
>

You can say -DskipTests but I do not know of a way to skip Cobertura only.
It's the trade off of getting this report, Maven runs the test again under
Cobertura. I use Eclipse to run all the tests in a given project and use
Maven when I want to see all of the reports.

Gary


> Best regards,
> S├ębastien
>
> [1] mojo.codehaus.org/cobertura-maven-plugin/index.html
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message