Report timeouts with a TIMEOUT status instead of FAILED
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- testing-qa
調査の方向性
まず、qtile/test/conftest.py の64-96行にある参照先の実装を確認し、その TIMEOUT ステータスとインラインのタイミングを pytest-timeout の動作と比較します。関連する pytest-timeout のエントリーポイントを追跡し、タイムアウトしたテストが失敗と区別され、タイミングが報告されることを示すテストを判断します。
索引モデルが issue の本文から書いたものです。
説明
I am the author of PR qtile/qtile#2331 and want to add pytest-timeout to the qtile test suite.
The change I made to the conftest.py was to implement a TIMEOUT status plus inline timings to make it more obvious which tests fail and which ones time out. Two of the maintainers commented that they'd rather prefer it to have this functionality built into pytest-timeout and I agreed. So my shot at it is here and we'd love to get some feedback if something like that could be added to pytest-timeout.
Example output, luckily without `TIMEOUT` or `FAILED (...)`:
test/test_bar.py::test_basic PASSED (0.001) [ 2%] test/test_bar.py::test_basic PASSED (0.116) [ 2%] test/test_bar.py::test_basic PASSED (0.036) [ 2%] test/test_bar.py::test_singlespacer PASSED (0.001) [ 2%] test/test_bar.py::test_singlespacer PASSED (0.114) [ 2%] test/test_bar.py::test_singlespacer PASSED (0.035) [ 2%] test/test_bar.py::test_nospacer PASSED (0.001) [ 2%] test/test_bar.py::test_nospacer PASSED (0.115) [ 2%] test/test_bar.py::test_nospacer PASSED (0.034) [ 2%] test/test_bar.py::test_configure_broken_widgets PASSED (0.001) [ 2%] test/test_bar.py::test_configure_broken_widgets PASSED (0.112) [ 2%] test/test_bar.py::test_configure_broken_widgets PASSED (0.039) [ 2%] test/test_bar.py::test_bar_hide_show_with_margin PASSED (0.001) [ 2%] test/test_bar.py::test_bar_hide_show_with_margin PASSED (0.207) [ 2%] test/test_bar.py::test_bar_hide_show_with_margin PASSED (0.035) [ 2%] test/test_check.py::test_check_default_config SKIPPED (needs mypy) [ 3%] test/test_check.py::test_check_default_config PASSED (0.000) [ 3%] test/test_check.py::test_check_bad_syntax SKIPPED (needs mypy) [ 3%] test/test_check.py::test_check_bad_syntax PASSED (0.000) [ 3%]
- 主要言語
- Python
- スター
- 258
- フォーク
- 69
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pytest-dev/pytest-timeout のほかの issue
-
PR #200 introduced breaking change - `timeout` value in config is incompatible with older versions オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
pytest-dev/pytest-timeout#203 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
pytest-dev/pytest-timeout#190 · コメント 9 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
pytest-dev/pytest-timeout#189 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
pytest-dev/pytest-timeout#181 · リアクション 4 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
pytest-dev/pytest-timeout#178 · コメント 1 件 ·
pytest-dev/pytest-timeout の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
huggingface/Repo2RLEnv#163 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
NousResearch/hermes-agent#121143 ·