testcontainers / testcontainers/testcontainers-python

Feature: Stream stdout and stderr via logging module

オープン
#754 コメント 0 件 リアクション 5 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

🚀 enhancement
主要言語
Python
スター
2.3k
フォーク
386
平均マージ
4時間 40分
マージ済み PR(30日)
1

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、testcontainers-python がどのようにコンテナを起動し、現在どのようにコンテナの出力を公開しているかを追跡し、次に要求された動作を testcontainers-java のアプローチと比較します。コンテナの実行中(起動待機中を含む)に stdout と stderr が Python の logging モジュールを通じて転送され、新しい動作をカバーするテストが追加されていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, python
領域
testing
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。