I don't know much about surefire, but it looks like the adapter is pointing to the incorrect class? Should be MyTest.class?

Cheng-Yang Tang wrote:
[SNIPPED]
import org.junit.*;
import static org.junit.Assert.*;
import junit.framework.JUnit4TestAdapter;

public class MyTest {

    private int i;

@Before public void runOnceBeforeAllTests() {
        i = 10;
    }
@Test public void test4()
    {
        assertEquals(10, i);
    }
public static junit.framework.Test suite() {
        return new JUnit4TestAdapter(WebServiceDispatcher.class);
    }
}

--
=====================================================================
Jeffrey D. Brekke                                   [EMAIL PROTECTED]
Wisconsin,  USA                                     [EMAIL PROTECTED]
                                                    [EMAIL PROTECTED]
http://www.bloglines.com/blog/jbrekke               [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to