Testcontainers is a Python library that provides a friendly API to run a Docker container. It is designed to create a runtime environment to use during your automatic tests.

Features

  • Provides support for running Docker containers in tests
  • Supports a wide range of services and databases
  • Works with pytest for integration tests
  • Easy setup of environment variables and dependenciesAutomatic cleanup of containers post-testing
  • Highly customizable container settings

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Testcontainers Python

Testcontainers Python Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Testcontainers Python!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Container Management Software

Registered

2024-10-16