testcontainers-go
testcontainers-go copied to clipboard
Testcontainers for Go is a Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to p...
Closes #314 - Renames all timeout setters to `WithTimeout`. - Update usage in the repository - Add deprecated methods with previous signature for backward compatility calling the new ones
If the reaper fails to initialize, it leaves testcontainers in a broken state. To be precise, the `Endpoint` variable is never properly initialized, which causes subsequent usages of testcontainers to...
With this tweak it is possible to use the testcontainers-go library in a CI pipeline that is encapsulated in a docker container. For example I'm using drone ci and a...
The wait.ForSQL wait strategy does not have a testcase and I forgot about how to use it as well. I decided to write it in preparation for the work/discussion ongoing...
Issue: In case container is started in docker which is not in localhost (ci environment with tests already running in container), mapped port is not enough to establish connection to...
**Describe the bug** When building image from Dockerfile using private Docker repo I get en error: ``` req := tc.ContainerRequest{ FromDockerfile: tc.FromDockerfile{ Context: "/my/path", Dockerfile: "Dockerfile", PrintBuildLog: true, }, dp,...
**Describe the bug** As of now, when the Reaper container is started, it mounts `/var/run/docker.sock` so the container can communicate with the Docker daemon on the host. However, if you...
I was wondering if it would be possible to have some defined container images (similar to what we have for java testcontainers https://www.testcontainers.org/modules/kafka/). I ported the kafka container to golang...
Canned containers are a good way to have pre-built container that can be re-used and can support a deep implementation with the application they are running. When I started to...
## Describe the bug When using a docker-compose file that has no exposed ports, then it's not possible to apply any wait strategy, because it uses a port to create...