This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I was upgrading an application from the NB 6.5 platform to 6.7 and I was happy to finally be able to use the new unit test coverage added in issue #145107). I was shocked to see that the report showed my unit test coverage at 0% for all modules. Upon further investigation, I found that this is a bug in Cobertura which has since been fixed: http://jira.codehaus.org/browse/MCOBERTURA-101 Therefore, fixing the problem in the NetBeans build harness is as simple as upgrading to at least Cobertura 1.9.2. I tried it with 1.9.3 and it seems to work well. FWIW, here are the details about the system where I encountered the problem: Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Ok, thanks for letting us know, I'll upgrade Cobertura in NB.
Reported in 6.7, not 6.9.
Ooops, I wanted to set target milestone, not version. core-main #cbbb1edad51e
Integrated into 'main-golden', will be available in build *200912050227* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/cbbb1edad51e User: Richard Michalsky <rmichalsky@netbeans.org> Log: #178037: upgrade to Cobertura 1.9.3