public interface SurefireProvider
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Makes an attempt at cancelling the current run, giving the provider a chance to notify
reporting that the remaining tests have been cancelled due to timeout.
|
java.lang.Iterable<java.lang.Class<?>> |
getSuites()
Determines the number of forks.
|
RunResult |
invoke(java.lang.Object forkTestSet)
Runs a forked test
|
java.lang.Iterable<java.lang.Class<?>> getSuites()
RunResult invoke(java.lang.Object forkTestSet) throws TestSetFailedException, ReporterException, java.lang.reflect.InvocationTargetException
forkTestSet
- An item from the iterator in #getSuites. Will be null for forkmode never or always.
When this is non-null, the forked process will run only that test
and probably not scan the classpathReporterException
- When reporting failsTestSetFailedException
- When testset failsjava.lang.reflect.InvocationTargetException
void cancel()