Skip to content

Typesense

Testcontainers module for Typesense.

TypesenseContainer's usage examples

You can start an Typesense container instance from any Java application by using:

TypesenseContainer typesense = new TypesenseContainer("typesense/typesense:27.1")

Adding this module to your project dependencies

Add the following dependency to your pom.xml/build.gradle file:

testImplementation "org.testcontainers:typesense:1.20.3"
<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>typesense</artifactId>
    <version>1.20.3</version>
    <scope>test</scope>
</dependency>