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 234031

Summary: Not possible to test multiple files or all files in package
Product: java Reporter: Geertjan Wielenga <geertjan>
Component: JUnitAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description Geertjan Wielenga 2013-08-06 15:26:06 UTC
It's possible to choose "Run File" on a project or on an individual Java source file, not on (1) a package and (2) on multiple selected files. Inconvenient for large projects.
Comment 1 Geertjan Wielenga 2013-08-06 15:55:29 UTC
Sorry, not "Run File", but "Test File".
Comment 2 dgilbert 2013-08-06 17:42:30 UTC
I asked Geertjan about this today and he opened this bug report for it.  While working on JFreeChart I often want to run all the tests for a single package in the project.  I was able to do this because I had defined some package test suites with JUnit 3.x.  But now I've updated to JUnit 4.11 and the test suites had to be removed.  Support for running tests on (a) a single package and (b) a multi-file selection would be useful to me, and I guess others.  Thanks.
Comment 3 markiewb 2013-08-06 21:10:41 UTC
Duplicate of #124313. Please vote there.

*** This bug has been marked as a duplicate of bug 124313 ***