I have two TestSuite classes (TestSuiteOne
and TestSuiteTwo
)
They look so:
import org.junit.runners.Suite;
import org.junit.runner.RunWith;
@RunWith(Suite.class)
@Suite.SuiteClasses({TestClass1.class, TestClass2.class})
public class TestSuiteOne {
//nothing
}
How can I run them in parallel?
One I run so $mvn class test -Dtest=TestSuiteOne
But how do I run them at the same time?