Class KalixIntegrationTestKitSupport


  • @Import(KalixConfigurationTest.class)
    @TestPropertySource(properties="spring.main.allow-bean-definition-overriding=true")
    @TestInstance(PER_CLASS)
    public abstract class KalixIntegrationTestKitSupport
    extends Object
    This class provided the necessary infrastructure to run Kalix integration test for projects built with the Spring SDK. Users should let their test classes extends this class.

    Requires Docker for starting a local instance of the Kalix proxy.

    This class wires-up a local Kalix server using the user's defined Kalix components.

    Users can interact with their components using the WebClient that is made available by the test ApplicationContext.

    On test teardown, the Kalix server and the Kalix proxy (docker container) will be stopped.

    • Constructor Detail

      • KalixIntegrationTestKitSupport

        public KalixIntegrationTestKitSupport()
    • Method Detail

      • afterAll

        @AfterAll
        public void afterAll()