Report timeouts with a TIMEOUT status instead of FAILED
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- testing-qa
Hướng nghiên cứu
Bắt đầu với phần triển khai được tham chiếu trong qtile/test/conftest.py ở các dòng 64-96 và so sánh trạng thái TIMEOUT cùng các khoảng thời gian inline của nó với hành vi của pytest-timeout. Theo dõi các entry point liên quan của pytest-timeout và xác định những test nào sẽ chứng minh rằng các test bị hết thời gian được phân biệt với các test thất bại và các khoảng thời gian được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I am the author of PR qtile/qtile#2331 and want to add pytest-timeout to the qtile test suite.
The change I made to the conftest.py was to implement a TIMEOUT status plus inline timings to make it more obvious which tests fail and which ones time out. Two of the maintainers commented that they'd rather prefer it to have this functionality built into pytest-timeout and I agreed. So my shot at it is here and we'd love to get some feedback if something like that could be added to pytest-timeout.
Example output, luckily without `TIMEOUT` or `FAILED (...)`:
test/test_bar.py::test_basic PASSED (0.001) [ 2%] test/test_bar.py::test_basic PASSED (0.116) [ 2%] test/test_bar.py::test_basic PASSED (0.036) [ 2%] test/test_bar.py::test_singlespacer PASSED (0.001) [ 2%] test/test_bar.py::test_singlespacer PASSED (0.114) [ 2%] test/test_bar.py::test_singlespacer PASSED (0.035) [ 2%] test/test_bar.py::test_nospacer PASSED (0.001) [ 2%] test/test_bar.py::test_nospacer PASSED (0.115) [ 2%] test/test_bar.py::test_nospacer PASSED (0.034) [ 2%] test/test_bar.py::test_configure_broken_widgets PASSED (0.001) [ 2%] test/test_bar.py::test_configure_broken_widgets PASSED (0.112) [ 2%] test/test_bar.py::test_configure_broken_widgets PASSED (0.039) [ 2%] test/test_bar.py::test_bar_hide_show_with_margin PASSED (0.001) [ 2%] test/test_bar.py::test_bar_hide_show_with_margin PASSED (0.207) [ 2%] test/test_bar.py::test_bar_hide_show_with_margin PASSED (0.035) [ 2%] test/test_check.py::test_check_default_config SKIPPED (needs mypy) [ 3%] test/test_check.py::test_check_default_config PASSED (0.000) [ 3%] test/test_check.py::test_check_bad_syntax SKIPPED (needs mypy) [ 3%] test/test_check.py::test_check_bad_syntax PASSED (0.000) [ 3%]
- Ngôn ngữ chính
- Python
- Star
- 258
- Fork
- 69
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pytest-dev/pytest-timeout
-
PR #200 introduced breaking change - `timeout` value in config is incompatible with older versions Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
pytest-dev/pytest-timeout#203 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pytest-dev/pytest-timeout#190 · 9 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pytest-dev/pytest-timeout#189 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
pytest-dev/pytest-timeout#181 · 4 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
pytest-dev/pytest-timeout#178 · 1 bình luận ·
Tất cả issue của pytest-dev/pytest-timeout
Issue tương tự
-
agent-ready documentation needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Add https://search.jeremyh.xyz/ Đang mởinstance instance add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
searxng/searx-instances#939 · 1 bình luận ·
-
area-deployment area-integrations triage:bot-seen
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 86/100