Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Testing and the fly likes Need help for cobertura report generation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Need help for cobertura report generation " Watch "Need help for cobertura report generation " New topic
Author

Need help for cobertura report generation

shamali hemke
Greenhorn

Joined: Dec 02, 2008
Posts: 1
Hello,
We are trying to integrate cobertura into our application.
I am able to instrument the jar file. For this I had externally written one build.xml where I had written code for instrumenting the jar , so it had created the cobertura.ser file in current directory .
If I generate the report it is showing 0% code coverage as I yet to run the cactus test case.
Then I package the jar into ear & war and deployed it on Websphere process server .I manually ran the cactus test on instrumented jar through WID editor.I am using Websphere process server 6.2. but its not creating new cobertura.ser file anywhere WPS. If at runtime while running the cactus test I give the current location of my .ser file in VM arguments like -Dnet.sourceforge.cobertura.datafile=D:/cobertura-1.9/aa/cobertura.ser
it is not updating this .ser file.
Can anybody please point me out how to update existing cobertura.ser file if I run cactus test on instrumented code manually not through build script .
Can you please point me to right direction ?
Thanks in Advance. Any help is much appreciated.

Thanks
Shamli
 
 
subject: Need help for cobertura report generation
 
Similar Threads
Can't get the code coverage output using Cobertura + Testng + Ant
Measuring code coverage with Cobertura on the serverside
How to run cactus test in one step ?
Cobertura report & Websphere help
Cobertura Zero Reports