DefaultTestLifecyclepublic interface TestLifecycle<T>
| Modifier and Type | Method | 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)
method - the test method about to be runvoid prepareTest(Object test)
test - the instance of the test class that is about to be usedvoid afterTest(Method method)
method - the test method that was just run