public class JUnitCoreProvider extends AbstractProvider
| Constructor and Description |
|---|
JUnitCoreProvider(ProviderParameters providerParameters) |
| Modifier and Type | Method and Description |
|---|---|
Iterator |
getSuites()
Determines the number of forks.
|
RunResult |
invoke(Object forkTestSet)
Runs a forked test
|
Boolean |
isRunnable() |
cancelpublic JUnitCoreProvider(ProviderParameters providerParameters)
public Boolean isRunnable()
public Iterator getSuites()
SurefireProviderpublic RunResult invoke(Object forkTestSet) throws TestSetFailedException, ReporterException
SurefireProviderforkTestSet - 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 classpathTestSetFailedException - When testset failsReporterException - When reporting failsCopyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.