public class Computer extends Object
Constructor and Description |
---|
Computer() |
Modifier and Type | Method and Description |
---|---|
protected Runner |
getRunner(RunnerBuilder builder,
Class<?> testClass)
Create a single-class runner for
testClass , using builder |
Runner |
getSuite(RunnerBuilder builder,
Class<?>[] classes)
Create a suite for
classes , building Runners with builder . |
static Computer |
serial()
Returns a new default computer, which runs tests in serial order
|
public static Computer serial()
public Runner getSuite(RunnerBuilder builder, Class<?>[] classes) throws InitializationError
classes
, building Runners with builder
.
Throws an InitializationError if Runner construction failsInitializationError
protected Runner getRunner(RunnerBuilder builder, Class<?> testClass) throws Throwable
testClass
, using builder
Throwable