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 246986

Summary: [Jacoco] Rerunning a test does not change code coverage
Product: contrib Reporter: tomzi <tomzi>
Component: CodecoverageAssignee: Martin Schovanek <mschovanek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description tomzi 2014-09-10 10:24:19 UTC
.) Run Code Coverage on a maven projects test class
.) View the Code coverage in netbeans
.) add an additional test for uncovered sections
.) Press 'Test' button (in lower code coverage section) or rerun the test

Expected:
The code coverage should show the newly covered sections

Actual:
-> code coverage does not change

However if you run 'All Tests' the code coverage seems to work

Product Version = NetBeans IDE 8.0.1 (Build 201408251540)
Operating System = Linux version 3.13.0-24-generic running on amd64
Java; VM; Vendor = 1.8.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23