testcontainers-rs
testcontainers-rs copied to clipboard
A library for integration-testing against docker containers from within Rust.
The `ExecResult` type returned from `ContainerAsync::exec` does not seem to represent a the command being completed, instead it returns before the executed command completes. I would assume I can use...
Hi :wave: This PR implements #578 and adds tests for the added functionality. Specifically, this PR adds support for adding and dropping capabilities for containers. Have a nice weekend!
Hello, I'm writing integration tests in Rust, where I want to test the HTTP endpoints of my application. For this purpose, I need to mock the Keycloak login server, as...
Might be useful to avoid duplication in some cases
When a container is created with a LogConsumer, the ContainerAsync does not wait for the logs to stop while dropping. If the process ends quickly, e.g. when running a single...
Similar to https://github.com/testcontainers/testcontainers-rs/issues/500 it would be great to have feature parity with the CLI. The suggested workaround does work but is quite inconvenient, we have migrated one project to use...
When the env var is set the platform is passed for both image and container creation in parity with the docker CLI. This is especially useful on apple silicon when...
Here is a proposal for a builder API. Please comment and help me improve it if there is interest for it.
Potentially resolves #702 This introduces a new wait strategy, `CommandStrategy`. The goal here is to wait for a successful command (exit code 0) prior to marking a container as ready....