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