Class FactCastIntegrationTestExecutionListener

  • All Implemented Interfaces:
    org.springframework.test.context.TestExecutionListener

    public class FactCastIntegrationTestExecutionListener
    extends Object
    implements org.springframework.test.context.TestExecutionListener
    • Field Detail

      • _docker_network

        public static final org.testcontainers.containers.Network _docker_network
    • Constructor Detail

      • FactCastIntegrationTestExecutionListener

        public FactCastIntegrationTestExecutionListener()
    • Method Detail

      • beforeTestClass

        public void beforeTestClass​(@NonNull
                                    @NonNull org.springframework.test.context.TestContext testContext)
                             throws Exception
        Specified by:
        beforeTestClass in interface org.springframework.test.context.TestExecutionListener
        Throws:
        Exception
      • beforeTestMethod

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

        public void afterTestMethod​(@NonNull
                                    @NonNull org.springframework.test.context.TestContext testContext)
                             throws SQLException
        Specified by:
        afterTestMethod in interface org.springframework.test.context.TestExecutionListener
        Throws:
        SQLException
      • afterTestClass

        public void afterTestClass​(org.springframework.test.context.TestContext testContext)
                            throws Exception
        Specified by:
        afterTestClass in interface org.springframework.test.context.TestExecutionListener
        Throws:
        Exception
      • afterTestExecution

        public void afterTestExecution​(org.springframework.test.context.TestContext testContext)
                                throws Exception
        Specified by:
        afterTestExecution in interface org.springframework.test.context.TestExecutionListener
        Throws:
        Exception
      • createProxy

        public static org.testcontainers.containers.ToxiproxyContainer.ContainerProxy createProxy​(org.testcontainers.containers.GenericContainer<?> container,
                                                                                                  int port)
      • client

        public static eu.rekawek.toxiproxy.ToxiproxyClient client()