Class ZeebeTestExecutionListener

java.lang.Object
io.camunda.zeebe.spring.test.AbstractZeebeTestExecutionListener
io.camunda.zeebe.spring.test.ZeebeTestExecutionListener
All Implemented Interfaces:
org.springframework.core.Ordered, org.springframework.test.context.TestExecutionListener

public class ZeebeTestExecutionListener extends AbstractZeebeTestExecutionListener implements org.springframework.test.context.TestExecutionListener, org.springframework.core.Ordered
Test execution listener binding the Zeebe engine to current test context.
  • Constructor Details

    • ZeebeTestExecutionListener

      public ZeebeTestExecutionListener()
  • Method Details

    • beforeTestMethod

      public void beforeTestMethod(@NonNull org.springframework.test.context.TestContext testContext)
      Specified by:
      beforeTestMethod in interface org.springframework.test.context.TestExecutionListener
    • afterTestMethod

      public void afterTestMethod(@NonNull org.springframework.test.context.TestContext testContext)
      Specified by:
      afterTestMethod in interface org.springframework.test.context.TestExecutionListener
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered