Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ganchix/testcontainers-java-module-arangodb

Testcontainers module for ArangoDB
https://github.com/ganchix/testcontainers-java-module-arangodb

arangodb docker java jvm test-automation testcontainers testing

Last synced: 9 days ago
JSON representation

Testcontainers module for ArangoDB

Awesome Lists containing this project

README

        

# TestContainers ArangoDB testing module [![Build Status](https://travis-ci.org/ganchix/testcontainers-java-module-arangodb.svg?branch=master)](https://travis-ci.org/ganchix/testcontainers-java-module-arangodb) [![codecov](https://codecov.io/gh/ganchix/testcontainers-java-module-arangodb/branch/master/graph/badge.svg)](https://codecov.io/gh/ganchix/testcontainers-java-module-arangodb) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.ganchix/testcontainers-java-module-arangodb/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/io.github.ganchix/testcontainers-java-module-arangodb) [![GitHub stars](https://img.shields.io/github/stars/badges/shields.svg?style=social&label=Star)](https://github.com/ganchix/testcontainers-java-module-arangodb)

Testcontainers module for [ArangoDB](https://www.arangodb.com/).

# Table of Contents

- [Overview](#overview)
- [Getting started](#getting-started)
- [License](#license)

### Overview

See [testcontainers.org](https://www.testcontainers.org) for more information about Testcontainers.

### Getting started

#### Add dependency

```

io.github.ganchix
testcontainers-java-module-arangodb
0.0.1

```

### Gradle

```
compile group: 'io.github.ganchix', name: 'testcontainers-java-module-arangodb', version: '0.0.1'
```

#### Code example

Running ArangoDB during a test:

```java
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](LICENSE.md) for details.

Copyright (c) 2018 Rafael Ríos Moya