#docker #testcontainers

dev testcontainers

A library for integration-testing against docker containers from within Rust

13 breaking releases

Uses new Rust 2021

0.14.0 Jun 1, 2022
0.12.0 Jan 28, 2021
0.11.0 Sep 30, 2020
0.9.1 Mar 25, 2020
0.3.1 Oct 23, 2018

#20 in Testing

Download history 2858/week @ 2022-03-10 3437/week @ 2022-03-17 2731/week @ 2022-03-24 3301/week @ 2022-03-31 4886/week @ 2022-04-07 4182/week @ 2022-04-14 5412/week @ 2022-04-21 5633/week @ 2022-04-28 5167/week @ 2022-05-05 3581/week @ 2022-05-12 3412/week @ 2022-05-19 3974/week @ 2022-05-26 4855/week @ 2022-06-02 5307/week @ 2022-06-09 4211/week @ 2022-06-16 4725/week @ 2022-06-23

20,246 downloads per month
Used in fewer than 39 crates

MIT/Apache

115KB
3K SLoC

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

  1. Depend on testcontainers
  2. Import use testcontainers::*.

Check the integration tests on how to use the library.

License

Licensed under either of

at your option.

Dependencies

~3–11MB
~197K SLoC