Run tests for installed packages

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

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

評価

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

調査の方向性

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 はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

SublimeText/UnitTesting のほかの issue

SublimeText/UnitTesting の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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