#test-containers #docker #continuous-integration

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

#266 in Testing

Download history 25/week @ 2023-12-15 34/week @ 2023-12-22 10/week @ 2023-12-29 11/week @ 2024-01-05 22/week @ 2024-01-12 12/week @ 2024-01-19 7/week @ 2024-01-26 13/week @ 2024-02-02 25/week @ 2024-02-09 34/week @ 2024-02-16 34/week @ 2024-02-23 41/week @ 2024-03-01 44/week @ 2024-03-08 43/week @ 2024-03-15 54/week @ 2024-03-22 104/week @ 2024-03-29

253 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

~1.5MB
~42K SLoC