Example of using Docker for starting a container with a postgresql database for unit tests and using this container in a test.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
README.md
build.gradle
emdote.iml
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

emdote

Example of using Docker for starting a container with a postgresql database for unit tests and using this container in a test.

Requirements

  • Docker 0.9+
  • Docker image for postgres (tagged as eg_postgresql)
  • Docker has enabled http access besides socks

Usage

Linux : ./gradlew test

Windows : gradlew.bat test