public class RestDocumentationTestExecutionListener extends AbstractTestExecutionListener
TestExecutionListener that sets up and tears down the Spring REST Docs
context for each test methodHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
RestDocumentationTestExecutionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTestMethod(TestContext testContext) |
void |
beforeTestMethod(TestContext testContext) |
afterTestClass, beforeTestClass, getOrder, prepareTestInstancepublic RestDocumentationTestExecutionListener()
public void beforeTestMethod(TestContext testContext) throws Exception
beforeTestMethod in interface TestExecutionListenerbeforeTestMethod in class AbstractTestExecutionListenerExceptionpublic void afterTestMethod(TestContext testContext) throws Exception
afterTestMethod in interface TestExecutionListenerafterTestMethod in class AbstractTestExecutionListenerException