« Return to Thread: Re: open-source code coverage tool

Re: open-source code coverage tool

by Miguel Paraz :: Rate this Message:

Reply to Author | View in Thread

reviving an old thread...

On Wed, Dec 14, 2005 at 10:58 AM, Paolo Enrico Melendres
<pamelendres@...> wrote:
> good day!
>
> what code coverage tool do you guys use?

I've been using Cobertura from the command line. Now, I want to try it
using its Maven tasks.

For standalone programs, no problem.

Now, I want to instrument a Maven war project. When Maven builds the
war, it looks in ./target/classes. However, the cobertura:instrument
goal copies the classes to ./target/generated-classes/cobertura.

How can I make the Maven war:war goal take the instrumented classes
from the corrected place?

Thanks!

 « Return to Thread: Re: open-source code coverage tool