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.

Bug 254858

Summary: Code Coverage Report doesn't refresh it self after the test fails
Product: contrib Reporter: Alfatrion
Component: CodecoverageAssignee: Martin Schovanek <mschovanek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log
Example

Description Alfatrion 2015-08-30 15:19:00 UTC
Code Coverage Report doesn't refresh it self after the test fails.

Reproduction:
I've includes an simple Maven example with an compile error. To reproduce please open the Code Coverage report and run all the test. Then fix the NewClass and rerun the report.

Workaround:
Close the report and then reopen it. The report is now refreshed.

Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = FreeBSD version 10.1-STABLE running on amd64
Java; VM; Vendor = 1.8.0_51
Runtime = OpenJDK 64-Bit Server VM 25.51-b03

I'm currently on FreeBSD, but I've also seen this on Windows 7
Comment 1 Alfatrion 2015-08-30 15:19:05 UTC
Created attachment 155756 [details]
IDE log
Comment 2 Alfatrion 2015-08-30 15:20:11 UTC
Created attachment 155757 [details]
Example
Comment 3 Alfatrion 2015-08-31 19:34:26 UTC
Another workaround:
- Press the disable button on the report and then reopen it. It should work fine now.