From: John W. L. <Joh...@sa...> - 2011-08-10 20:02:09
|
You have to instrument the war that you deploy to websphere. After that is done, when you bring up the application a cobertura.ser file will be created somewhere in your application's directory under websphere. When you have found that location, you need to copy to that location the cobertura.ser file that was created during instrumentation. After testing, shut down websphere to have the coverage counts dumped to cobertura.ser (or use the coberturaFlush.war). Then, run the report. That is the general idea. -----Original Message----- From: ChintzNabble [mailto:chi...@in...] Sent: Wednesday, August 10, 2011 12:07 PM To: cob...@li... Subject: Re: [Cobertura-devel] Cobertura for a web service ubuntuuser wrote: > > Hi , > > I am a QA and i need to test the coverate of my testcases against the > dev code . the dev code is a web service which can be deployed on any > machine[i work on linux] > > the issue is. i got cobertura generate a coverege report but all the > classes show 0 covereage and some classes links when clicked dnt even > open up the src code. > the isue here is the web service. > > HOW can i run the testcases against the dev code and get a report of > the code covereage. my testcases do not at alll use any kinda > functions form the dev src code. i have my own apiz which i am using. > jus that the response grom the http post i recieve uisng which i > verify if my testcas passed o not. > but in the code coverage scenario how my testcases will figure out > what all classe in the src code were accessed? > i mean am really new to it..is there a way where this is possible?? > PLEASE GUIDE > > > Hi, did you get resolution of your problem? we are facing similar issue. We are not able to see code coverage for web sevices when deployed on web sphere server I would appreicate if you can give some pointers. Thanks Chintan -- View this message in context: http://old.nabble.com/Cobertura-for-a-web-service-tp30881021p32235366.html Sent from the cobertura-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Cobertura-devel mailing list Cob...@li... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |