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 155537 - [65cat] No Debug of JUnit test from file node context menu
Summary: [65cat] No Debug of JUnit test from file node context menu
Status: RESOLVED DUPLICATE of bug 160568
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-16 10:51 UTC by ulfzibis
Modified: 2009-04-01 23:26 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 ulfzibis 2008-12-16 10:51:34 UTC
[ BUILD # : 200812030201 ]
[ JDK VERSION : 1.6.0 ]

Error message (from -> Debug "abc.ABCTest.java"):
Class "abc.ABCTest" does not have a main method.
Comment 1 ulfzibis 2008-12-16 11:30:19 UTC
Additionally, IMHO "Test File" should be named "Run Test", for context menu referring to JUnit class.
"Test File" would mean "Run the test of this test" :-(
Comment 2 Alexei Mokeev 2009-03-05 13:50:34 UTC
Assigning issues from Michael to Andrey.
Comment 3 Andrey Yamkovoy 2009-03-19 13:53:16 UTC
Looks like it's a regression from the fix of issue 119922. See changeset http://hg.netbeans.org/main/rev/ea79749c1951.
Closing as a duplicate of 160568 (unable to run) because the reason is the same.

*** This issue has been marked as a duplicate of 160568 ***
Comment 4 ulfzibis 2009-04-01 23:21:41 UTC
Additionally "Debug Test File" is missing on project browser node.
Comment 5 ulfzibis 2009-04-01 23:26:26 UTC
Better: "Debug Test File" is missing in context menu of project browser node on test case in Test Packages.