I rewrite my question.
I want a code coverage for my integration test
(the integration test with selenium instruments the war module).
I have a it (integration test) module
and i want a dashboard on code coverage for my sources on my war module.
How you do that?
Thanks
Grégory
gbois wrote:
Hi,
I use Maven 2 with Cargo and Corbertura (for the moment).
I want a dashboard on code coverage for my intergration test (my
integration test is selenium test).
I have bind my integration test to the test phase.
My code is
plugin
groupIdorg.codehaus.cargo/groupId
artifactIdcargo-maven2-plugin/artifactId
version0.3-SNAPSHOT/version
executions
execution
idstart-container/id
phaseprocess-test-sources/phase
goals
goalstart/goal
goaldeploy/goal
/goals
configuration
deployer
deployables
deployable
groupIdmyproj/groupId
artifactIdmyproj_ear/artifactId
typeear/type
pingURLhttp://localhost:8080//pingURL
pingTimeout54/pingTimeout
/deployable
/deployables
/deployer
waitfalse/wait
container
containerIdjboss4x/containerId
homeC:\tools\jboss-4.0.2/home
timeout18/timeout
/container
/configuration
/execution
execution
idstop-container/id
phasetest/phase
goals
goalstop/goal
/goals
/execution
/executions
/plugin
mvn test works and with mvn site fails
When cobertura instruments the code, second execution of the tests because
the cargo start fail.
Because, the first step of Cobertura doesn't stop it.
I suppose Cobertura uses his own life cycle.
Have you got an idea to solve my problem?
Thanks a lot.
Grégory BOISSINOT
BP2S PARIS
--
View this message in context:
http://www.nabble.com/Instrument-code-for-integration-test-with-Cobertura-and-Cargo-tf2679754s177.html#a7474962
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]