Skip to content

OrientDB Module

Testcontainers module for OrientDB

Usage example

You can start an OrientDB container instance from any Java application by using:

OrientDBContainer orientdb = new OrientDBContainer("orientdb:3.2.0-tp3")

Adding this module to your project dependencies

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

testImplementation "org.testcontainers:orientdb:1.21.3"
<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>orientdb</artifactId>
    <version>1.21.3</version>
    <scope>test</scope>
</dependency>

Hint

Add the OrientDB Java client if you plan to access the Testcontainer:

compile "com.orientechnologies:orientdb-client:3.0.24"
<dependency>
    <groupId>com.orientechnologies</groupId>
    <artifactId>orientdb-client</artifactId>
    <version>3.0.24</version>
</dependency>