How to: Integrate using Testcontainers Dapr Module

Use the Dapr Testcontainer module from your Java application

You can use the Testcontainers Dapr Module provided by Diagrid to set up Dapr locally for your Java applications. Simply add the following dependency to your Maven project:

<dependency>
    <groupId>io.diagrid.dapr</groupId>
	<artifactId>testcontainers-dapr</artifactId>
	<version>0.10.x</version>
</dependency>

If you’re using Spring Boot, you can also use the Spring Boot Starter.

Use the Testcontainers Dapr Module