Feature: Stream stdout and stderr via logging module
還沒有人認領這個 Issue。
評估
研究方向
首先追蹤 testcontainers-python 如何啟動容器以及目前如何提供容器輸出,然後將要求的行為與 testcontainers-java 的作法進行比較。當容器執行期間(包括啟動等待期間)透過 Python 的 logging 模組轉送 stdout 和 stderr,且測試涵蓋新的行為時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- Python
- 星號
- 2.3k
- 分支
- 397
- 平均合併
- 8 天 16 小時
- 30 天內合併 PR
- 5
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
testcontainers/testcontainers-python 的其他 Issue
-
Feature: Stream bytes out on copy_from_container可能已有人在做 @archit15singh 於 11 天前認領。 未關閉🚀 enhancement
難度 2/5 1-3 小時 新手友好度 67/100
-
Bug: HttpWaitStrategy ignores response predicates for accepted HTTP error statuses可能已有人在做 @PranavMulakala 於 41 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 85/100
-
Bug: LogMessageWaitStrategy: a container that exits before its message raises without its logs, and __enter__ then removes the container可能已有人在做 @granzer69 於 42 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 76/100
-
難度 2/5 1-3 小時 新手友好度 67/100
testcontainers/testcontainers-python#1086 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
testcontainers/testcontainers-python#578 · 5 則留言 ·
查看 testcontainers/testcontainers-python 的全部 Issue
相似的 Issue
-
bug feature request
難度 2/5 1-3 小時 新手友好度 67/100
維護者通常 1 天內回覆
-
難度 1/5 1-3 小時 新手友好度 66/100
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
Qiskit/qiskit-obp#156 ·
-
action-item enhancement
難度 2/5 1-3 小時 新手友好度 88/100
getcommunityone/open-navigator#1658 ·
維護者通常 1 天內回覆
-
review-panel severity:low
難度 2/5 1-3 小時 新手友好度 72/100
kristovatlas/coin-accounting#636 ·
維護者通常 1 天內回覆