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 - allow to run files in test folder
Summary: allow to run files in test folder
Status: RESOLVED DUPLICATE of bug 119922
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-13 13:58 UTC by mbien
Modified: 2008-11-13 14:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***