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 259057 - "test package" runs recursively
Summary: "test package" runs recursively
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 8.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-29 08:23 UTC by RampantBadger
Modified: 2016-04-29 08:23 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RampantBadger 2016-04-29 08:23:16 UTC
In the projects view it shows all the packages.
Right clicking on any of these packages gives the option to "test package" which is a nice little feature when troubleshooting failing tests in helping to localise the problem when there is some kind cross-class interference. (i.e. singleton mutations)

However running "test package" runs recursively running sub package tests as well, even though in the projects view sub packages are laid out separately.

For example if I have the following packages listed in my projects view:

org.netbeans.foo
org.netbeans.foo.bar

Right clicking on "org.netbeans.foo" runs all the tests in this package as well as all the tests in "org.netbeans.foo.bar"

I think the desired action and the result are not whats expected by the user.

Either it should run just the tests in the package I right click on or the user should be given the option to run recursively.