Package kalix.spring.testkit
Class KalixIntegrationTestKitSupport
Object
kalix.spring.testkit.KalixIntegrationTestKitSupport
This class provided the necessary infrastructure to run Kalix integration test for projects built
with the Java SDK. Users should let their test classes extends this class.
Requires Docker for starting a local instance of the Kalix Runtime.
This class wires-up a local Kalix application 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 application and the Kalix Runtime (docker container) will be stopped.
-
Field Summary
Modifier and TypeFieldDescriptionprotected kalix.javasdk.client.ComponentClient
protected Duration
-
Constructor Summary
-
Method Summary
-
Field Details
-
componentClient
@Autowired protected kalix.javasdk.client.ComponentClient componentClient -
timeout
-
-
Constructor Details
-
KalixIntegrationTestKitSupport
public KalixIntegrationTestKitSupport()
-
-
Method Details
-
afterAll
@AfterAll public void afterAll()
-