Package kalix.springsdk.testkit
Class KalixIntegrationTestKitSupport
- Object
-
- kalix.springsdk.testkit.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
WebClientthat is made available by the testApplicationContext.On test teardown, the Kalix server and the Kalix proxy (docker container) will be stopped.
-
-
Constructor Summary
Constructors Constructor Description KalixIntegrationTestKitSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterAll()
-