4 releases
Uses old Rust 2015
0.2.1 | Sep 16, 2019 |
---|---|
0.2.0 | Feb 28, 2019 |
0.1.1 | Oct 23, 2018 |
0.1.0 | Oct 3, 2018 |
#552 in Testing
66 downloads per month
24KB
439 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
~0.7–1.5MB
~35K SLoC