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.
|
Iterator |
getSuites()
Determines the number of forks.
|
RunResult |
invoke(Object forkTestSet)
Runs a forked test
|
Iterator getSuites()
RunResult invoke(Object forkTestSet) throws TestSetFailedException, ReporterException, 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 failsInvocationTargetException
void cancel()
Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.