TestContainers ArangoDB testing module
![GitHub stars](https://camo.githubusercontent.com/f085bfd130015fe8330840b1af5a68ccb04ad404a3d75566624db672b09f0c5f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6261646765732f736869656c64732e7376673f7374796c653d736f6369616c266c6162656c3d53746172)
Testcontainers module for ArangoDB.
Table of Contents
Overview
See testcontainers.org for more information about Testcontainers.
Getting started
Add dependency
<dependency>
<groupId>io.github.ganchix</groupId>
<artifactId>testcontainers-java-module-arangodb</artifactId>
<version>0.0.1</version>
</dependency>
Gradle
compile group: 'io.github.ganchix', name: 'testcontainers-java-module-arangodb', version: '0.0.1'
Code example
Running ArangoDB during a test:
public class SomeTest {
@Rule
public ArangoDBContainer arangoDBContainer = new ArangoDBContainer().withoutAuthentication();
@Test
public void simpleTestWithClientCreation() {
ArangoDB arangoDB = arangoDBContainer.getArangoDB();
assertNotNull(arangoDB.getVersion().getServer());
}
}
License
Testcontainers module for ArangoDB is licensed under the MIT License. See LICENSE for details.
Copyright (c) 2018 Rafael Ríos Moya