Search in sources :

Example 6 with Computer

use of org.junit.runner.Computer in project tutorials by eugenp.

the class ParallelIntegrationTest method runTests.

@Test
public void runTests() {
    final Class<?>[] classes = { Example1IntegrationTest.class, Example2IntegrationTest.class };
    JUnitCore.runClasses(new Computer(), classes);
}
Also used : Computer(org.junit.runner.Computer) ParallelComputer(org.junit.experimental.ParallelComputer) Test(org.junit.Test)

Aggregations

Computer (org.junit.runner.Computer)6 JUnitCore (org.junit.runner.JUnitCore)3 Test (org.junit.Test)2 ParallelComputer (org.junit.experimental.ParallelComputer)2 Request (org.junit.runner.Request)2 Result (org.junit.runner.Result)2 Runner (org.junit.runner.Runner)2 RunListener (org.junit.runner.notification.RunListener)2 Example1IntegrationTest (com.baeldung.Example1IntegrationTest)1 Example2IntegrationTest (com.baeldung.Example2IntegrationTest)1 BFInputDataException (com.capgemini.ntc.test.core.exceptions.BFInputDataException)1 ArrayList (java.util.ArrayList)1 Level (java.util.logging.Level)1 BeforeClass (org.junit.BeforeClass)1 Test (org.junit.jupiter.api.Test)1 Failure (org.junit.runner.notification.Failure)1 RunnerBuilder (org.junit.runners.model.RunnerBuilder)1 SeleniumComputer (org.opennms.netmgt.junit.runner.SeleniumComputer)1