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