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 164910 - Run single unit test not possible anymore
Summary: Run single unit test not possible anymore
Status: CLOSED DUPLICATE of bug 152741
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-12 09:03 UTC by johanandren
Modified: 2009-05-12 10:11 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 johanandren 2009-05-12 09:03:18 UTC
In netbeans 6.5 we could right click on a unit test class and run an individual unit test, in 6.7 beta the option "run test" is disabled in the right click menu.

The maven project type is nbm and nbm-application
Comment 1 Milos Kleint 2009-05-12 09:09:11 UTC
duplicate of #152741, in 6.7 the tests are executed via "Test file" action (both on popup of main class and test class)
and the Run File is reserved for Running via main() method execution (or servlet execution). Unlike in 6.5, now test
classes can have a main() method.


*** This issue has been marked as a duplicate of 152741 ***
Comment 2 johanandren 2009-05-12 10:11:57 UTC
I think the reason that made think this is a bug is that the previous test runner operation was available on the context menu when right clicking in the source 
code of the junit test which i wanted to run.

Anyways, thanks for the swift reply.