Manages Spring test contexts via a TestContextManager.
Test execution listener that always dirties the context to ensure that contexts get cleaned after test execution.
Test execution listener that always dirties the context to ensure that contexts get cleaned after test execution.
Note that this class dirties the context after all test methods have run.
Manages Spring test contexts via a TestContextManager.
Implemented as a stackable trait that uses beforeAll() and afterAll() hooks to invoke initialization and destruction logic, respectively. Test contexts are marked dirty, and hence cleaned up, after all test methods have executed. There is currently no support for indicating that a test method dirties a context.
Sample usage:
org.springframework.test.context.TestContextManager