Testcontainers for Python¶
Not using Python? Here are other supported languages!
About Testcontainers For Python¶
Testcontainers for Python is a Python library that makes it simple to create and clean up container-based dependencies for automated integration or smoke tests. The easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.
To start using Testcontainers for Python, see the quickstart guide.
Note
If you need a high-level explanation of Testcontainers, see the main website.
Code Comments¶
Inline documentation and docs where the code lives are crucial for us. Testcontainers For Python follows the PEP 257 comment conventions. The codebase previously supported Sphinx, so you may encounter comments not yet updated for the new documentation style.
Who Is Using Testcontainers Python?¶
- Timescale - Uses testcontainers-python in their pgai project for testing PostgreSQL integrations, AI model interactions, and AWS service integrations.
- Redis - Depends on testcontainers-python for their Redis vector library implementation.
- Apache - Uses testcontainers-python in their Skywalking project for an application performance monitoring tool in distributed systems.
License¶
See LICENSE.
Attributions¶
Copyright¶
Copyright (c) 2015-2021 Sergey Pirogov and other authors.
See AUTHORS for contributors.