• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need help for cobertura report generation

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic