A Testcontainers implementation for Meilisearch.
You can use the @Container
annotation to start a Meilisearch container.
@Container
MeilisearchContainer container = new MeilisearchContainer();
@Container
MeilisearchContainer container = new MeilisearchContainer(DockerImageName.parse("getmeili/meilisearch:latest"));
@Container
MeilisearchContainer container = new MeilisearchContainer()
.withMasterKey("masterKey");
This library is available in Maven Central. You can add it as a dependency to your project using the following snippets.
testImplementation 'io.vanslog:testcontainers-meilisearch:1.0.5'
<dependency>
<groupId>io.vanslog</groupId>
<artifactId>testcontainers-meilisearch</artifactId>
<version>1.0.5</version>
<scope>test</scope>
</dependency>