Hi Galt.

The run option appears if you have a public static void main method.  The
test option(s) appear if the class is a descendent of
junit.framework.TestCase.  Your class seems to be guilty of both.

I agree the run-all-tests option should always be available in test classes
though, and the per-test option appear _additionally_ if the cursor is
inside a test.

Cheers,
Dan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 23 July 2002 23:52
To: [EMAIL PROTECTED]
Subject: [Eap-bugs] #636 Right-click context menu in JUnit test code


If I have a JUnit test class, and I right-click in the source code window, 
I'm presented with three options for running: test the current method, run 
the current method and debug the current method.

There are two issues:
1) The difference between "test" and "run" is unclear (if there even is a 
difference)
2) There are no options for running and/or debugging the entire test, 
unless I right-click somewhere outside of a method.

I like the new ability to run a single test, but I'd to have the option of 
running the entire test case also.


Thanks,
Galt Johnson


_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs
_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to