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 49028 - New Projects isn't flexible to run 'tests' with main() methods.
Summary: New Projects isn't flexible to run 'tests' with main() methods.
Status: CLOSED DUPLICATE of bug 43391
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-14 18:47 UTC by kjmcdonald
Modified: 2006-03-24 09:52 UTC (History)
0 users

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 kjmcdonald 2004-09-14 18:47:20 UTC
Previously I always had a part of my package tree
called 'tests'. I didn't always use Junit, and I
still don't always use it. 

When I recently converted to the new 4.0 projects
system, I took care to put my 'tests' package in
the  directory tree that I told NB contained my
'test packages'.

Unfortunately now I can't run any of my tests.

right clickning on a test doesn't offer a 'run'
option. Even though the icon shows it has a main.

the Run->RunOther menu does show a 'test
File.java' option but that only works for Junit
tests, and again 'run' isn't there on the menu.

Do I really have to move these back into the
'source packages' tree? I certainly don't want to
ship them in my .jar files.
Comment 1 Jesse Glick 2004-09-14 19:01:57 UTC

*** This issue has been marked as a duplicate of 43391 ***
Comment 2 Marian Mirilovic 2005-07-12 10:16:20 UTC
closed