tag:blogger.com,1999:blog-19196687.post4757945815324103646..comments2023-07-25T05:34:20.969-04:00Comments on FitProgrammer@Work: Emma vs Coberturarwatshhttp://www.blogger.com/profile/06716243760036932975noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-19196687.post-76133735174272421122010-05-03T14:27:17.963-04:002010-05-03T14:27:17.963-04:001. First Download Cobertura 1.9.2 jar and put in ...1. First Download Cobertura 1.9.2 jar and put in your local file system and extract it.<br /><br /> 1. Then create jars( lib, bridge, ejb ) for your project using Ant or eclipse.<br /> 2. Copy these src jars into your cobertura folder ( example : D:\Cobertura\cobertura-1.9.2\ )<br /> 3. Instrument the project jars using<br /><br /> 1. cobertura-instrument.bat <br /><br /> <br /><br /> 2. All the project jars would now be instrumented with the cobertura code along with the creation of cobertura.ser file in the same directory.<br /> 3. Then deploy the jars in your development server.<br /> 4. You should also add the cobertura.jar in the classpath(BE,FE/IN depending on your project's nature).<br /> 5. Copy the cobertura.ser to the server and in the startManagedWebLogic.sh, add the below system property<br /><br /> 4. -Dnet.sourceforge.cobertura.datafile=${directory where you have copied the cobertura.ser}/cobertura.ser<br /><br /> <br /><br /> 6. Fire your Selenium test cases either through Firefox(Selenium IDE) or using Selenium Remote Control. Or else run your application by manually<br /> 7. Shutdown the development server using WL Admin console and copy the cobertura.ser file back to the local cobertura folder.<br /> 8. Run the cobertura report using<br /><br /> 5. cobertura-report.bat --destination <br /><br />9. now you can check your local folder output folder Index.jspRajihttps://www.blogger.com/profile/03912343267049841126noreply@blogger.comtag:blogger.com,1999:blog-19196687.post-42140709043213878912009-09-12T00:35:14.985-04:002009-09-12T00:35:14.985-04:00I think, cobertura still the best ..I think, cobertura still the best ..mind authorhttp://mindauthor.blogspot.comnoreply@blogger.comtag:blogger.com,1999:blog-19196687.post-18514807755255451452009-04-08T16:26:00.000-04:002009-04-08T16:26:00.000-04:00By any chance did you try with Cobertura?By any chance did you try with Cobertura?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-19196687.post-61976753892192419802008-08-12T11:52:00.000-04:002008-08-12T11:52:00.000-04:00nice summary....on one of our complex swing applic...nice summary....on one of our complex swing applications however...cobertura would hang ...whereas emma would hang in the "on the fly" instrumentation mode...it worked fine for the post compile - pre execution instrumentation. not as pretty in the reports, but all the info is thereAnonymousnoreply@blogger.com