@NotThreadSafe public abstract class Driver extends Object
Driverimplementation so that the Jumi test runner will know how to run tests written using that testing framework.
|Constructor and Description|
|Modifier and Type||Method and Description|
Starts the execution of the tests in
public abstract void findTests(Class<?> testClass, SuiteNotifier notifier, Executor executor)
testClass. The provided
Executorshould be used to run the tests, so that they can be executed in parallel, each test in a different thread. If the
Runnables passed to
Serializable, then each of the tests in one class could potentially be executed on different machine in a server cluster. Otherwise any potential clustering is at class-granularity (which may be a hindrance for classes with many slow tests).
testClass- contains the tests to be executed.
notifier- through which Jumi is told about test executions.
executor- recommended for executing tests asynchronously, instead of running them synchronously in this method.
Copyright © 2011-2013. All Rights Reserved.