public interface RunnerFeature
| Modifier and Type | Method and Description |
|---|---|
void |
afterMethodRun(FeaturesRunner runner,
org.junit.runners.model.FrameworkMethod method,
Object test)
After a test method was ran.
|
void |
afterRun(FeaturesRunner runner)
After tests were run.
|
void |
afterTeardown(FeaturesRunner runner)
After the call of the @After methods
|
void |
beforeMethodRun(FeaturesRunner runner,
org.junit.runners.model.FrameworkMethod method,
Object test)
Before a test method is invoked.
|
void |
beforeRun(FeaturesRunner runner)
Before running tests.
|
void |
beforeSetup(FeaturesRunner runner)
Before entering in the @Before methods
|
void |
configure(FeaturesRunner runner,
com.google.inject.Binder binder)
Configures Guice bindings if any is required by the feature.
|
void |
initialize(FeaturesRunner runner)
Called when preparing to run the test class.
|
void |
start(FeaturesRunner runner)
Features are initialized.
|
void |
stop(FeaturesRunner runner)
Before exiting the test.
|
void |
testCreated(Object test)
Notification that a test instance was created.
|
void initialize(FeaturesRunner runner) throws Exception
Exceptionvoid configure(FeaturesRunner runner, com.google.inject.Binder binder)
void beforeRun(FeaturesRunner runner) throws Exception
Exceptionvoid afterRun(FeaturesRunner runner) throws Exception
Exceptionvoid start(FeaturesRunner runner) throws Exception
Exceptionvoid testCreated(Object test) throws Exception
test - Exceptionvoid stop(FeaturesRunner runner) throws Exception
Exceptionvoid beforeSetup(FeaturesRunner runner) throws Exception
runner - Exceptionvoid afterTeardown(FeaturesRunner runner) throws Exception
runner - Exceptionvoid beforeMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) throws Exception
Exceptionvoid afterMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) throws Exception
ExceptionCopyright © 2016 Nuxeo SA. All rights reserved.