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 230593

Summary: Allow user to select which test categories to run.
Product: utilities Reporter: mjr_1974 <mjr_1974>
Component: Test RunnerAssignee: Theofanis Oikonomou <theofanis>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: IDE log

Description mjr_1974 2013-05-31 16:04:32 UTC
Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Linux version 3.9.4-030904-generic running on amd64
Java; VM; Vendor = 1.7.0_21
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.21-b01
Comment 1 mjr_1974 2013-05-31 16:04:39 UTC
Created attachment 135184 [details]
IDE log
Comment 2 mjr_1974 2013-05-31 16:09:48 UTC
Well, I hit Enter and the bug was sent without a description, I guess that's another thing to solve...

Anyway, I think the IDE should read all the test categories (in JUnit annotated with @Category) and present the user with a dialog with all the categories listed in a JTreeTable in which the user could select which categories to run. The dialog I am thinking of would be very similar to the find & replace scope selection: parent categories will have their children nested, and the user could enable/disable which one(s) to run.
This feature could be optional, so users will be informed of the categories if needed.