Library to enable tests using Docker in a simple and automated way.
build.gradle
fileDockerTest
src/test/resources
directory of your project, any name is fine, but it must be a valid docker-compose fileDockerTest
class to run tests with Docker; for example, you can use the dockerComposeUp(...)
method passing the name of the docker-compose file, and it will start the containers defined in the file. You can also use dockerComposeDown(...)
to stop and remove the containers.