4 releases (2 breaking)
Uses old Rust 2015
0.3.1 | Sep 16, 2019 |
---|---|
0.3.0 | Feb 28, 2019 |
0.2.0 | Oct 23, 2018 |
0.1.0 | Oct 3, 2018 |
#268 in Testing
200 downloads per month
Used in 18 crates
(11 directly)
13KB
211 lines
Testcontainers-rs
Testcontainers-rs is the official Rust language fork of http://testcontainers.org.
Usage
testcontainers
is the core crate
The crate provides an API for working with containers in a test environment.
- Depend on
testcontainers
- Implement
testcontainers::core::Image
for necessary docker-images - Run it with any available client
testcontainers::clients::*
Ready-to-use images
The easiest way to use testcontainers
is to depend on ready-to-use images (aka modules).
Modules are available as a community-maintained crate: testcontainers-modules
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.
Dependencies
~2MB
~42K SLoC