Class TestIsolationExecutionListener

  • All Implemented Interfaces:
    org.springframework.core.Ordered, org.springframework.test.context.TestExecutionListener

    public class TestIsolationExecutionListener
    extends BaseTestExecutionListener
    Listener that baselines the DB and OCFL repo between every test. It does not baseline on Windows due to difficulties associated with deleting and immediately recreating directories.
    Author:
    pwinckles
    • Method Detail

      • afterTestMethod

        public void afterTestMethod​(org.springframework.test.context.TestContext testContext)
                             throws Exception
        Specified by:
        afterTestMethod in interface org.springframework.test.context.TestExecutionListener
        Overrides:
        afterTestMethod in class org.springframework.test.context.support.AbstractTestExecutionListener
        Throws:
        Exception