public class DefaultTestLifecycle extends Object implements TestLifecycle
| Constructor and Description |
|---|
DefaultTestLifecycle() |
| 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.
|
public void beforeTest(Method method)
Called before each test method is run.
beforeTest in interface TestLifecyclemethod - the test method about to be runpublic void prepareTest(Object test)
TestLifecycleCalled after each test method is run.
prepareTest in interface TestLifecycletest - the instance of the test class that is about to be usedpublic void afterTest(Method method)
Called after each test method is run.
afterTest in interface TestLifecyclemethod - the test method that just ran.