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.25.5")

Adding this module to your project dependencies

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

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