Skip to content

Weaviate

Testcontainers module for Weaviate

WeaviateContainer's usage examples

You can start a Weaviate container instance from any Java application by using:

WeaviateContainer weaviate = new WeaviateContainer("cr.weaviate.io/semitechnologies/weaviate:1.24.5")

Adding this module to your project dependencies

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

testImplementation "org.testcontainers:weaviate:1.19.7"
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>weaviate</artifactId>
<version>1.19.7</version>
<scope>test</scope>
</dependency>