public interface TestLifecycle<T>
Modifier and Type | Method and Description |
---|---|
void |
afterTest(java.lang.reflect.Method method)
Called after each test method is run.
|
void |
beforeTest(java.lang.reflect.Method method)
Called before each test method is run.
|
void |
prepareTest(java.lang.Object test)
Called after each test method is run.
|
void beforeTest(java.lang.reflect.Method method)
Called before each test method is run.
method
- the test method about to be runvoid prepareTest(java.lang.Object test)
Called after each test method is run.
test
- the instance of the test class that is about to be usedvoid afterTest(java.lang.reflect.Method method)
Called after each test method is run.
method
- the test method that was just run