Actually I am using cobertura maven plug-in version 2.3 with maven version
2.1.
In my JUnits I have DB and EJB calls. During the build I use surefire maven
plugin property “forkMode=always” and with this property the unit test cases
pass properly.  Otherwise Surefire plugin has problem running JUnits and
they fail.

Now during the cobertura:cobertura stage the many test cases fail. The DB
test cases fail at the executing the DB call (remote calls) and while
running EJB calls I get serialVersionUID mismatch exceptions. I tried
instrumenting only the classes under the current module as I believe
instrumentation of the other classes might be giving this SerialVersionUID
mismatch but no luck.

This is multimodule maven build with around 70 artifacts being build in that
build. Even with the single module build the cobertura test cases fail.

Since the test cases fail we are not able to see the code coverage.

I would be extremely thankful if you guys can help me to locate the problem.

-- 
View this message in context: 
http://old.nabble.com/Cobertura-version-2.3-fails-the-JUnit-test-cases-tp28199798p28199798.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to