Testslide runner not playing well with unittest.subtests
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 149
- Fork
- 62
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
```
In [1]: from unittest import TestCase
In [2]: class Repro(TestCase):
...: def test_repro(self):
...: for x in range(0,10):
...: with self.subTest(f"{x}") as st:
...: if x == 5:
...: raise unittest.SkipTest("skipped")
...: self.assertTrue(True)
```
testslide runner marks the entire testclass skipped.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.