testcontainers-python
testcontainers-python copied to clipboard
Testcontainers is a Python library that providing a friendly API to run Docker container. It is designed to create runtime environment to use during your automatic tests.
I'm new to Python. I welcome every suggestion. :)
It's possible to check if the healthcheck passed trought the cli. `docker ps --format json` will list all the services running and their corresponding healthchecks. Proposed method signature: compose.wait_for_healthcheck(sec: int...
Add a `CustomContainer` exposing the settings through the class. Close #236
Return a touple with the host and the port ``` python def get_service_info(self, service, port): """ Returns the host and the port for one of the services. Parameters ---------- service:...
_First I want to thank you for this very nice and convenient library._ ## Background I am using the library for smoke tests for microservices. In these tests I spin...
Python 3.6 reached EOL on 23 Dec 2021. I think we should not maintain support for versions that have reached EOL to ease our maintenance burden. If a user wants...
As decided to support v18.0 image or newer, we should use these dedicated API endpoints to determine container readiness. These endpoints became introduced with v18.0.
This PR adds a module to spawn a [Qdrant](https://qdrant.tech) test container.
If this PR is accepted, I intend to follow up with another PR to add `py.typed` to address https://github.com/testcontainers/testcontainers-python/issues/305 .