testcontainers / testcontainers-rs

A library for integration-testing against docker containers from within Rust.
https://rust.testcontainers.org
Apache License 2.0
724 stars 143 forks source link

feat: introduce log consumers #681

Closed DDtKey closed 3 months ago

DDtKey commented 3 months ago

Introduce LogConsumer trait and ability to pass a consumer into ContainerRequest.

The main advantage of this functionality is the use of background container output processing throughout the entire lifecycle of the container, starting from the moment of its creation. This way you can process logs even if the container was not started due to the wait strategy.

netlify[bot] commented 3 months ago

Deploy Preview for testcontainers-rust ready!

Name Link
Latest commit d207f09052f4fafbd949ef3644eb05874ed391c0
Latest deploy log https://app.netlify.com/sites/testcontainers-rust/deploys/6689c7fdd32c2e00083cde2a
Deploy Preview https://deploy-preview-681--testcontainers-rust.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.