You really should upgrade...
Here is the code, hope I'm not doing your homework.
package org.junit.sample3_8_2;
import junit.framework.TestCase;
public class NameTest extends TestCase {
public void setUp() {
System.out.println(getName());
}
public void testA() {
System.out.println("I'm in testA");
}
public void testB() {
System.out.println("I'm in testB");
}
}
On Sun, Sep 27, 2009 at 12:55 PM, ashishsoni2u <
ashishsoni4u@...> wrote:
> Hi
>
> Is anyone knows how to get the current executing test method name in the setup method before executing the test method in Junit 3.8.
>
> Thanks in Advance.
>
> Ashish Soni
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>