Package com.consol.citrus.junit
Class TestSuiteExecutionListener
- java.lang.Object
-
- org.springframework.test.context.support.AbstractTestExecutionListener
-
- com.consol.citrus.junit.TestSuiteExecutionListener
-
- All Implemented Interfaces:
org.springframework.core.Ordered,org.springframework.test.context.TestExecutionListener
public class TestSuiteExecutionListener extends org.springframework.test.context.support.AbstractTestExecutionListenerTest execution listener that will load a test suite instance from the application context and execute tasks before and after the test run. The tasks after are executed as ShutdownHook thread that is added to the JVM runtime.- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description TestSuiteExecutionListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprepareTestInstance(org.springframework.test.context.TestContext testContext)
-
-
-
Method Detail
-
prepareTestInstance
public void prepareTestInstance(org.springframework.test.context.TestContext testContext) throws Exception- Specified by:
prepareTestInstancein interfaceorg.springframework.test.context.TestExecutionListener- Overrides:
prepareTestInstancein classorg.springframework.test.context.support.AbstractTestExecutionListener- Throws:
Exception
-
-