Run tests for installed packages
まだ誰も着手していません。
評価
調査の方向性
Start with UnitTestingLoader and the inherited unittest.TestLoader.discover behavior described in the issue, then inspect how unittesting.json files are loaded. Use the resource system to verify discovery of tests inside installed packages, and confirm that installed-package tests can run and the minor configuration-loading issues are handled.
索引モデルが issue の本文から書いたものです。
説明
Currently, UnitTesting cannot run tests that are inside installed packages.
This would allow package authors to verify that their tests run when the package is installed. End users could also more easily troubleshoot their installed packages.
This is mostly because it inherits the discover method of unittest.TestLoader, which uses the filesystem directly. We could reimplement discover in UnitTestingLoader to use the resource system instead. In principle, this should work for our use case, because every test suite that UnitTesting can find should be accessible as a resource.
There are also a couple of minor issues, such as the way that unittesting.json files are loaded.
I'm working on an implementation.
- 主要言語
- Python
- スター
- 113
- フォーク
- 32
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
SublimeText/UnitTesting のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
SublimeText/UnitTesting#286 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
SublimeText/UnitTesting#276 · コメント 4 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
SublimeText/UnitTesting#209 · コメント 8 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
SublimeText/UnitTesting#31 · コメント 5 件 ·
SublimeText/UnitTesting の issue をすべて見る
似ている issue
-
sponsored
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
Diaoul/subliminal#1382 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
triage/confirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
agentscope-ai/agentscope#2775 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100