allure-framework / allure-framework/allure-python
allure-robotframework not supporting link issue pattern
- 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 ...
- [ ] bug report
- [x ] feature request
- [ ] support request => Please do not submit support request here, see note at the top of this template.
#### What is the current behavior?
When creating allure results with allure-robotframework it doesn't support parameterized way for creating prefix for issue links. For example if robot test contains TAG "issue:myIssueId", allure results (and generated allure report) will contain URL into host where allure report is served (like http://10.251.83.101:65165/myIssueId).
Current workaround is to place URL into test TAG, e.g. issue:https://myJira.com/browse/myIssueId, This shows whole URL in the linkname on allure report.
#### What is the expected behavior?
Possibility to have parameterized base URL to issue tracking system that is copied in the front of issueId instead host where report is served. For example command line switch or property file that includes key-value pair like "allure.link.issue.pattern=https;//myJira.com/browse/". Then allure robotframework listener should add this value in front of issue link URL.
#### What is the motivation / use case for changing the behavior?
Generated allure report link section is more readable, when link name is shorter and URL is not shown on the report.
#### Please tell us about your environment:
- Allure version: 2.1.0
- Test framework: allure-python 2.9.43
- Allure adaptor: allure-robotframework 2.9.43
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với listener allure-robotframework xử lý các giá trị Robot TAG và xem xét cách tạo các issue link. Kiểm tra các điểm đầu vào cấu hình hiện có qua dòng lệnh hoặc tệp thuộc tính; hoàn thành khi một URL cơ sở của issue-link có thể cấu hình được đặt làm tiền tố cho một issue ID, trong khi báo cáo hiển thị tên liên kết ngắn hơn.
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
- 35/100