FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

testcontainers-java/docs/modules/databases/couchbase.md at main · ed0906/testcontainers-java · GitHub

Latest commit

 

History

History
42 lines (32 loc) · 1.41 KB

File metadata and controls

42 lines (32 loc) · 1.41 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:testcontainers-couchbase:{{latest_version}}" === "Maven" xml <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers-couchbase</artifactId> <version>{{latest_version}}</version> <scope>test</scope> </dependency>


Back | FazBrowse Home | New Git URL