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 247558

Summary: TestRunner: Expand nodes automatically, if there is exactly one test failure/error
Product: java Reporter: markiewb
Component: JUnitAssignee: Theofanis Oikonomou <theofanis>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.1   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Shows the issue

Description markiewb 2014-09-29 13:11:01 UTC
Created attachment 149593 [details]
Shows the issue

UseCase:
* one test of many tests in one file fails, so I dedug the single failing test
* after rerunning the single test, I always have to expand the nodes in the TestRunner to see the results - that is very annoying

ACTUAL: If there is one test failure/error, I always have to expand 2 nodes manually to see the real culprit

EXPECTED: When there is exactly one test failure/error, so expand the nodes (there are no ambiguities) 

See screenshot

Product Version: NetBeans IDE 8.0.1 (Build 201408142300)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b70
Runtime: Java(TM) SE Runtime Environment 1.8.0-b132
System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)