On Mon, Mar 5, 2012 at 2:57 AM, Sébastien Brisard <sebastien.bris...@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-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > -- E-Mail: garydgreg...@gmail.com | ggreg...@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