Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.38 KB

File metadata and controls

42 lines (32 loc) · 1.38 KB

Couchbase Module

Testcontainers module for Couchbase. Couchbase is a document oriented NoSQL database.

Usage example

Running Couchbase as a stand-in in a test:

  1. Define a bucket:

    Bucket Definition inside_block:bucket_definition

  2. define a container:

    Container definition inside_block:container_definition

  3. create an cluster:

    Cluster creation inside_block:cluster_creation

Adding this module to your project dependencies

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

=== "Gradle" groovy testImplementation "org.testcontainers:couchbase:{{latest_version}}" === "Maven" xml <dependency> <groupId>org.testcontainers</groupId> <artifactId>couchbase</artifactId> <version>{{latest_version}}</version> <scope>test</scope> </dependency>