#test-containers #docker #integration-tests #continuous-integration #within #language

tc_core

Core crate of testcontainers, a library for integration-testing against docker containers from within Rust

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

Download history 24/week @ 2024-01-08 14/week @ 2024-01-15 11/week @ 2024-01-22 3/week @ 2024-01-29 24/week @ 2024-02-05 30/week @ 2024-02-12 24/week @ 2024-02-19 47/week @ 2024-02-26 49/week @ 2024-03-04 28/week @ 2024-03-11 48/week @ 2024-03-18 52/week @ 2024-03-25 71/week @ 2024-04-01 40/week @ 2024-04-08 33/week @ 2024-04-15

200 downloads per month
Used in 18 crates (11 directly)

MIT/Apache

13KB
211 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

~2MB
~42K SLoC