Hi all,

I'm new to testNG, and wrote a simple java class to run my tests.

Problem is, it doesn't seem to run my @BeforeClass methods.

For some services, I like to write tests and develop to satisfy the test, so I need to be able to debug (use breakpoints) and run them rapidly and many times.

If I debug "maven:test", not only does it not hit my breakpoints, but it does a full compile prior which is not necessary and time consuming.

How do you guys run testNG tests?

can anyone spot why my @BeforeClass annotations aren't registering from the following code?

        TestListenerAdapter tla = new TestListenerAdapter();
        TestNG testng = new TestNG(false/*stop producing HTML output*/);
        testng.setTestClasses(classes);
        testng.addListener(tla);
        if (!groups.equalsIgnoreCase("all"))
            testng.setGroups(groups);
        testng.run();

Thanks, paul.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to