testcontainers-rs icon indicating copy to clipboard operation
testcontainers-rs copied to clipboard

A library for integration-testing against docker containers from within Rust.

Testcontainers-rs

Continuous Integration Crates.io Docs.rs Dependabot Status Bors enabled Matrix

Testcontainers-rs is the official Rust language fork of http://testcontainers.org.

Usage

  1. Depend on testcontainers
  2. Import use testcontainers::*.

Check the integration tests on how to use the library.

License

Licensed under either of

  • Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.