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.
|
Iterable<Class<?>> |
getSuites()
Determines the number of forks.
|
RunResult |
invoke(Object forkTestSet)
Runs a forked test
|
Iterable<Class<?>> 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 - fails in ProviderFactoryvoid cancel()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.