jerry-git / jerry-git/pytest-split
Possibility to split tests on Class basis
- Ngôn ngữ chính
- Python
- Star
- 325
- Fork
- 56
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- testing
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 52/100