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 153145

Summary: allow to run files in test folder
Product: projects Reporter: mbien <mbien>
Component: Generic InfrastructureAssignee: Milos Kleint <mkleint>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: junit-issues
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description mbien 2008-11-13 13:58:43 UTC
NetBeans is currently only able to run JUnit tests in the 'Test Package' folder.

If the file is no JUnit test this message is returned even if the class has a main method:
No runnable methods
java.lang.Exception: No runnable methods

If it is not time consuming to implement it should be also considered to allow running classes with main methods in the
'Test Package' folder. Not all tests are necessarily JUnit tests.
Comment 1 Marian Petras 2008-11-13 14:41:07 UTC
Reassigned to component "projects".
Comment 2 Milos Kleint 2008-11-13 14:46:19 UTC
duplicate of #119922

*** This issue has been marked as a duplicate of 119922 ***