#test-containers #docker #cli #traits #command #necessary #issue

dev tc_cli_client

An implementation of the testcontainers Docker trait that uses the Docker CLI to issue the necessary commands to the docker daemon

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

Download history 12/week @ 2024-02-19 21/week @ 2024-02-26 14/week @ 2024-03-04 9/week @ 2024-03-11 19/week @ 2024-03-18

66 downloads per month

MIT/Apache

24KB
439 lines

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

testcontainers is the core crate

The crate provides an API for working with containers in a test environment.

  1. Depend on testcontainers
  2. Implement testcontainers::core::Image for necessary docker-images
  3. 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

at your option.

Dependencies

~0.7–1.5MB
~35K SLoC