Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Testcontainers InfluxDB testing module

Testcontainers module for the InfluxData InfluxDB.

Usage example

Running influxDbContainer as a stand-in for InfluxDB in a test:

public class SomeTest {

    @Rule
    public InfluxDBContainer influxDbContainer = new InfluxDBContainer();
    
    @Test
    public void someTestMethod() {
         InfluxDB influxDB = influxDbContainer.getNewInfluxDB();
         ...

Dependency information

Replace VERSION with the latest version available on Maven Central.

Maven

<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>influxdb</artifactId>
    <version>VERSION</version>
</dependency>

Gradle

compile group: 'org.testcontainers', name: 'influxdb', version: 'VERSION'