7 releases (4 breaking)
Uses old Rust 2015
0.5.1 | Sep 16, 2019 |
---|---|
0.5.0 | May 5, 2019 |
0.4.0 | Feb 28, 2019 |
0.3.0 | Jan 15, 2019 |
0.1.0 | Sep 17, 2018 |
#678 in Testing
40 downloads per month
17KB
281 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
~1.5MB
~42K SLoC