Hi,
 
Some assistence with following usecase would be much appreciated:
 
During the automated build executions in our project I like to perform
the following steps:
1. compile sources
2. instrument class files, using Cobertura
3. compile test sources and execute tests
4. (optionally perform integration tests with the instrumented classes)
5. create surefire test report
6. create Cobertura coverage report
 
My experience till now is that both the surefire-report plugin and the
cobertura-plugin will fork a new lifecycle including the test phase.
and if I also want to perform the integration tests in the same run, I
end-up with the test phase being executed 3 times!
And in addtion to that, there seems no way to include the integration
tests in the coverage reporting.
 
Is there a way to merge the Cobertura instrumentation step into the main
life cycle just before the test execution and produce the reports
without introducing additonal life cycles. Or is there another way to
prevent build steps to be executed double or triple.
 
Thanks in advance,
 
Mark Koops
GE Healthcare Information Technology
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/385 - Release Date:
11-7-2006
 

Reply via email to