#container

testcontainers-rs

rust testcontainers

1 unstable release

0.0.1 Nov 28, 2022

#484 in #container

Custom license

36KB
627 lines

testcontainers-rs

Examples

RUST_LOG=debug cargo run --example custom

Linting

cargo clippy --tests --benches --examples --all-features -- -Dclippy::all -Dclippy::pedantic

Goals

  • use a killer pod that avoids dangling containers just like the golang implementation
  • safety: no panics or unsafe code
  • build on top of bollard exclusively
  • API inspired by the golang implementation
  • expose native docker container to allow flexibility for users

TODO

  • implement a working example for the initial release version

Dependencies

~14–24MB
~339K SLoC