//TestNG import org.testng.annotations.Test; /** * singleThreaded=false: Don't run test methods in parallel for this class. * @author Xuan Ngo * */ @Test(singleThreaded=false) public class NonParallelMethods { @Test(description="testMethod1") public void testMethod1() {} @Test(description="testMethod2") public void testMethod2() {} }