Testcontainers module for OpenFGA.
You can start an OpenFGA container instance from any Java application by using:
OpenFGA container inside_block:container
Add the following dependency to your pom.xml/build.gradle file:
=== "Gradle"
groovy testImplementation "org.testcontainers:openfga:{{latest_version}}"
=== "Maven"
xml <dependency> <groupId>org.testcontainers</groupId> <artifactId>openfga</artifactId> <version>{{latest_version}}</version> <scope>test</scope> </dependency>