mlafeldt / testcontainers-rs

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:Apache License 2.0


Languages

Language:Rust 98.3%Language:Dockerfile 1.6%Language:Shell 0.0%