Library to enable tests using Docker in a simple and automated way.
build.gradle file
DockerTestsrc/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.
KubernetesTestsrc/test/resources directory of your project, any name is fine, but they must be valid Kubernetes filesKubernetesTest class to run tests with Kubernetes; for example, you can use the executeKubectlApplyAndWait(...) method passing the directory where the Kubernetes files are located, and it will apply the configurations defined in the files. You can also use executeKubectlDelete(...) to delete the resources created by the configurations.