i followed the steps that are given for cobertura report and i generated report with following steps given in the URL Cobertura on Tomcat
but now my problem is to generate cobertura report without stopping tomcat
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are only 2 Ways to create a coverage data file.
coberturato write the fileRegarding the Second approach: You have to call this function yourself, after your tests run. You could (for example) put this code in a servlet (which you call at the end of your tests).
If you don’t stop Tomcat or execute the function, you will not get a coverage data file.
This is from the cobertura FAQ