From: John W. L. <Joh...@sa...> - 2012-05-24 16:16:21
|
That almost always means that your tests are not using the cobertura.ser file that is created during the instrumentation. You have to make sure that the cobertura.ser file is moved to the working directory of your tests, or use the cobertura property (as described in the Cobertura Ant documentation) to point to the cobertura.ser file. From: Ionel Pagu [mailto:Ion...@te...] Sent: Thursday, May 24, 2012 11:54 AM To: cob...@li... Subject: [Cobertura-devel] coverage not reported properly on the main page Hi, After tweaking the ant scripts a bit, I was now able to instrument, run our jUnits and then run the report successfully. However, there is one odd thing: in the main report page, the coverage is reported as 100% everywhere but I know our jUnits are not that good. Even further, if I click the links to check source code I can clearly see code not being (fully) covered. So now I am puzzled. The tools seems to detect that properly but not summarize it correctly. Any idea? Thanks, Ionel Pagu The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorized. |