allure-framework / allure-framework/allure-python

Add posibility to allure_robotframework listener to send "broken" test status to allure

Đang mở
#755 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
task:improvement theme:robotframework
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ả

#### I'm submitting a ...
- [ ] feature request

#### What is the current behavior?
Currently allure_robotframework listener can send just four statuses to Allure - PASSED, FAILED, SKIPPED, UNKOWN (only in failure case), those are hardcoded in `get_allure_status` function.

#### What is the expected behavior?
Add possibility to send other test statuses, for example, BROKEN that actually in the default allure statuses list.

#### What is the motivation / use case for changing the behavior?
In my case we need to divide failed cases by different statuses on allure(failed for usual failures and broken for known cases with opened issues)

#### Please tell us about your environment:

allure-python-commons 2.13.2
allure-robotframework 2.13.2

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với hàm get_allure_status của listener allure_robotframework, trong đó các ánh xạ PASSED, FAILED, SKIPPED và UNKNOWN hiện tại được mô tả là hardcoded. Theo dõi cách trạng thái mà hàm trả về đến được Allure, sau đó xác minh rằng một lỗi trong trường hợp đã biết có thể tạo ra BROKEN trong khi các trạng thái hiện có vẫn không thay đổ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
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 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
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.