Logging of Test execution in QTTestDriver verbose mode
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- cpp
調査の方向性
まず QTTestDriver の実装と InvokeResult::success() の処理を特定し、次に verbose フラグと既存の Result 型がどのように出力を公開しているかを確認します。verbose モードが有効な場合に、QT テストの正常な実行結果の出力を driver から利用でき、ログに記録され、かつ有用な失敗コンテキストが失われない状態になれば完了です。
索引モデルが issue の本文から書いたものです。
説明
🤔 What's the problem you're trying to solve?
Currently if the steps run without any problems, the output from the test could not be logged or seen. The output is stored in a file that is removed after test and does not contain helpful information on success cause no loglevel is provided to the test
✨ What's your proposed solution?
The verbose flag or another flag should be provided to the TestDriver implementation.
The testdriver should then configure the tests with the appropriate, driver specific loglevels.
The output of the test could be
- provided as "description" as part of the InvokeResult::success() like for the other Resulttypes
- the description should be logged out in case of the verbose flag enabled.
⛏ Have you considered any alternatives or workarounds?
The logging could be done in the steps implementation by NOT using the QT macros qInfo() or by providing an messagehandler for this. Long text short: logging to stderr is possible and output from stderr is shown. This could also a way to enable logging. But in failure cases the context of these logs and the steps executions do not match. This might not be helpfull.
📚 Any additional context?
No response
- 主要言語
- C++
- スター
- 330
- フォーク
- 142
- 平均マージ
- 2日 8時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cucumber/cucumber-cpp のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
cucumber/cucumber-cpp#317 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
cucumber/cucumber-cpp#313 · コメント 9 件 ·
-
Authorize hyphen "-" for Tag再び着手できるかも @ursfassler が 399 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
cucumber/cucumber-cpp#312 · コメント 4 件 · 担当者 1 名 ·
-
help
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
cucumber/cucumber-cpp#302 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
cucumber/cucumber-cpp#297 · コメント 13 件 ·
cucumber/cucumber-cpp の issue をすべて見る
似ている issue
-
Build fails on macOS 27: dyld refuses stripped Rust proc-macros (mis-aligned LINKEDIT string pool)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
cloudflare/workerd#8963 ·
メンテナーはふだん 1 日以内に返信
-
Android Bug Core Drape
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
organicmaps/organicmaps#14449 ·
メンテナーはふだん 1 日以内に返信
-
comp-codecs
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
ClickHouse/ClickHouse#135159 ·
メンテナーはふだん 1 日以内に返信
-
category:port-update
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 2 日以内に返信
-
difficulty:easy func:python os:windows prio:high type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NatronGitHub/Natron#2029 ·
メンテナーはふだん 1 日以内に返信