org.junit.runner
Class Computer
java.lang.Object
org.junit.runner.Computer
- Direct Known Subclasses:
- ParallelComputer
public class Computer
- extends Object
Represents a strategy for computing runners and suites.
WARNING: this class is very likely to undergo serious changes in version 4.8 and
beyond.
Computer
public Computer()
serial
public static Computer serial()
- Returns a new default computer, which runs tests in serial order
getSuite
public Runner getSuite(RunnerBuilder builder,
Class<?>[] classes)
throws InitializationError
- Create a suite for
classes
, building Runners with builder
.
Throws an InitializationError if Runner construction fails
- Throws:
InitializationError