Use pytest's pytester plugin in the tests
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 45/100
- Issue 類型
- 重構
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- python
- 領域
- testing-qa
研究方向
從 tests/test_pytest_mpl.py 開始,並閱讀連結指南中的 pytest pytester 外掛文件。將使用暫存檔案的執行模式替換為基於 pytester 的測試,同時保留現有的結果檢查;當測試套件以等效的涵蓋率通過時即完成。
由索引模型根據 Issue 內容生成。
描述
There's lots of tests in tests/test_pytest_mpl.py which write test code to a temp file, run it, and check the result. Pytest's builtin pytester plugin is designed for doing this and has lots of nice features for checking the outcome.
https://docs.pytest.org/en/7.1.x/how-to/writing_plugins.html#testing-plugins
- 主要語言
- Python
- 星號
- 274
- 分支
- 53
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
matplotlib/pytest-mpl 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 48/100
matplotlib/pytest-mpl#264 · 2 則留言 · 1 個 reaction ·
-
難度 3/5 1-2 天 新手友好度 35/100
matplotlib/pytest-mpl#263 · 3 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 55/100
matplotlib/pytest-mpl#262 · 6 則留言 ·
-
難度 4/5 3-5 天 新手友好度 45/100
matplotlib/pytest-mpl#261 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
matplotlib/pytest-mpl#257 · 2 則留言 ·
查看 matplotlib/pytest-mpl 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
fossasia/eventyay-exhibition#465 · 3 則留言 · 1 個 reaction ·
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
area/webapp comp/desktop P2 type/bug
難度 2/5 1-3 小時 新手友好度 78/100
NousResearch/hermes-agent#163341 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
cpp-best-practices/project_validator#609 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 84/100
smart-village-solutions/smart-speech-flow#765 ·
維護者通常 1 天內回覆