Feature: Stream stdout and stderr via logging module

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

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

評価

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

調査の方向性

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

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

説明

🚀 enhancement

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時間
マージ済み PR(30日)
5

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

testcontainers/testcontainers-python のほかの issue

testcontainers/testcontainers-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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