|
Re: "Run As > JUnit Test" on inherited test method [message #141606 is a reply to message #141564] |
Wed, 01 April 2009 10:34 |
Paul Slauenwhite Messages: 975 Registered: July 2009 |
Senior Member |
|
|
Hi Lewis,
I would suggesting posting this question to the JDT news group. This
news group is the Test and Performance Tools Platform, and although we
provide JUnit test support
( http://help.eclipse.org/help33/topic/org.eclipse.hyades.test .doc.user/concepts/cjunitintro.htm
but only 3.8.x support, so no annotations), you are referring to the JDT
JUnit runner.
Paul
"J. Lewis Muir" <muir@pobox.com> wrote in message
news:a8a552ded77c6cdd0dd2b36dfa26ad6b$1@www.eclipse.org...
>I have a test class, AdscTest, that is a subclass of an abstract test
>class, DriverTest. Both contain test case methods marked with the @Test
>annotation.
>
> I can right-click on AdscTest in the Types view of the Java Browsing
> perspective and choose "Run As > JUnit Test" and all the test methods with
> the @Test annotation, including those in DriverTest, will be run. I can
> also right-click on any AdscTest test method in the Members view and
> choose "Run As > JUnit Test" and just that method will be run.
>
> However, I can't figure out a way to do a "Run As > JUnit Test" on a test
> method inherited from DriverTest. I tried opening AdscTest in the
> Hierarchy view and selecting "Show All Inherited Members." I
> right-clicked on an inherited test method, but the "Run As" menu only
> contains "Run Configurations...." Is there a way to do this?
>
> I'm running Eclipse 3.4.2 and have installed all updates.
>
> Thanks,
>
> Lewis
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02817 seconds