/tarantool-testcontainers-usage

Example of Testcontainers usage for Tarantool DB

Primary LanguageJavaMIT LicenseMIT

Different ways of starting Tarantool image during tests run

Java CI with Maven

Example of TestContainers library usage

TestContainers Tarantool module situated here

Example of Palantir-Docker library usage

Prerequisites

  • JDK 17

  • Docker

  • For Win OS need to add env variables with path to Docker executable files docker.exe and docker-compose.exe:

    DOCKER_LOCATION=C:\\Program Files\\Docker\\Docker\\resources\\bin\\docker.exe
    DOCKER_COMPOSE_LOCATION=C:\\Program Files\\Docker\\Docker\\resources\\bin\\docker-compose.exe
    

    It could be done using next commands:

    setx DOCKER_LOCATION "C:\\Program Files\\Docker\\Docker\\resources\\bin\\docker.exe"
    setx DOCKER_COMPOSE_LOCATION "C:\\Program Files\\Docker\\Docker\\resources\\bin\\docker-compose.exe"
    

    These variables used by the library Palantir-Docker.