public class TestNGProvider extends AbstractProvider
Constructor and Description |
---|
TestNGProvider(ProviderParameters bootParams) |
Modifier and Type | Method and Description |
---|---|
Iterable<Class<?>> |
getSuites()
Determines the number of forks.
|
RunResult |
invoke(Object forkTestSet)
Runs a forked test
|
cancel
public TestNGProvider(ProviderParameters bootParams)
public RunResult invoke(Object forkTestSet) throws TestSetFailedException
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 failspublic Iterable<Class<?>> getSuites()
SurefireProvider
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.