allure-framework / allure-framework/allure-python
with `pytest-rerunfailures`, reruns are not recognized
- Ngôn ngữ chính
- Python
- Star
- 814
- Fork
- 260
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**Describe the bug**
Running a Pytest Test-Suite with the pytest-rerunfailures plugin does not recognize reruns. Instead, the result of the last run test is shown. Previously failed tests can be found as duplicates in the timeline. The flaky marker is not applied.
**Expected behavior**
The result of the last run test is shown. A flaky marker is applied. I am able to filter for tests that were rerun.
**Screenshots**
Example Test first run (failed):

Example Test second run via --reruns=5 (succeeded)

No flaky marker for test:

**Environment (please complete the following information):**
| Allure version | 2.13.6 |
| Python | 3.6.12 |
| Test framework | pytest@6.1.2 |
| Allure adaptor | allure-pytest@2.8.31, pytest-rerunfailures@9.1.1 |
| Generate report using | https://github.com/simple-elf/allure-report-action |
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện vấn đề với các phiên bản Python, pytest, allure-pytest và pytest-rerunfailures được liệt kê, đồng thời so sánh lần chạy thất bại đầu tiên với lần chạy lại thành công. Theo dõi cách lần chạy lại xuất hiện trong timeline và report, và coi vấn đề là hoàn tất khi kết quả cuối cùng được hiển thị một lần, một flaky marker được áp dụng và có thể lọc các test được chạy lại.
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
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100