You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Guillaume Duchesneau <gd...@taleo.com> on 2006/12/18 14:30:05 UTC

Cobertura plugin and integration testing

Hello,

 

We are in the process of enabling code coverage in our projects (Maven 2
projects).  Everything works well using the Cobertura plugin for unit
tests.  We would like to use Cobertura to measure coverage when running
integration tests as well.  For example, let's say we have a
multi-module projects containing projects A, B and C with project C
depending on projects A and B and containing JUnits that tests
integration between A and B.  How can I make Cobertura compute projects
A and B coverage by project C tests?  Also, we would like to use the
Cargo plugin to run other integration tests in a running app server.
Can cobertura be used as well in this scenario?

 

Thanks in advance! 

 

Guillaume