An example project showing how to run integration tests for a Java project using Maven.
The integration test environment is defined in the docker-compose.yml
.
The app under test is packaged into a docker container via the Dockerfile
./mvnw clean verify
- gradle-scala-docker-compose-example-project - The same thing that this project does, but with Gradle.
- dockerfile-maven-plugin - Invokes
docker
to build this app's container - docker-compose-maven-plugin - Invokes
docker-compose
to start a test environment - SO maven-jar-plugin finalName - Rename final artifact
- maven-failsafe-plugin - Maven Failsafe Plugin for running integration tests