testcontainers / testcontainers/testcontainers-python
Feature: Stream stdout and stderr via logging module
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 386
- Avg merge
- 4h 40m
- Merged PRs (30d)
- 1
Description
In testcontainers-java, the stdout and stderr of the container are streamed to slf4j, making it easy to follow up on the logs of the containers as the test progresses. It's really useful when container takes time to start (waiting for the condition).
I think it's beneficial to have same feature in testcontainers python
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how testcontainers-python starts containers and currently exposes container output, then compare the requested behavior with the testcontainers-java approach. Done means stdout and stderr are forwarded through Python's logging module while a container runs, including during startup waits, with tests covering the new behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100