jerry-git / jerry-git/pytest-split
Possibility to split tests on Class basis
- 主要言語
- Python
- スター
- 325
- フォーク
- 56
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I am currently using this plugin for splitting up my tests.
A lot of my pytests consist of multiple test cases which are depended on one another.
Is there a possibility to split the tests on class basis?
Example:
`Testclass A:
test_01:
test_02:
`
`Testclass B:
test_01:
test_02:
test_03:
`
`Testclass C:
test_01:
`
Splitting those in two would do something like this:
Batch A: A(test_01, test_02) C(test_01)
Batch B: B (test_01, test_02, test_03)
Currently I am getting something like this:
Batch A: A(test_01, test_02) B(test_01)
Batch B: B(test_02, test_03), C(test_01)
Maybe I am missing something. If this is not possible at the moment are you willing to accept a Pull Request?
Greetings,
Andreas
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by reading the pytest-split implementation and its existing tests to find where pytest tests are assigned to batches. Check how collection items are grouped and weighted, then define completion as keeping each test class together while still producing the requested number of balanced batches.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- testing
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100