Add dynamic.label and dynamic.title support to allure-behave
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Bắt đầu với phần triển khai allure-behave của runtime API được step definition đã cho sử dụng. Tái tạo đoạn mã và lần theo lý do dynamic.title và dynamic.label không có tác dụng. Được xem là hoàn tất khi tên kiểm thử là “New name” và nhãn my-tag xuất hiện trong kết quả Allure được tạo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I'm submitting a ...
- bug report
- feature request
- support request => Please do not submit support request here, see note at the top of this template.
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Currently, there is no way to set a test's name or add a label dynamically. The following code has no effect:
@given("...")
def step_impl():
allure.dynamic.title("New name")
allure.dynamic.label("tag", "my-tag")
What is the expected behavior?
The code above should change the test's name to "New name" and add the my-tag tag to the test.
What is the motivation / use case for changing the behavior?
To make the runtime API complete.
Please tell us about your environment:
- Allure adaptor: [email protected]
- Ngôn ngữ chính
- Python
- Star
- 819
- Fork
- 261
- Merge trung bình
- 3 giờ 20 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 allure-framework/allure-python
-
[allure-behave] Steps from tag-excluded scenarios bleed into the next matching scenario's result when hide_excluded=trueCó thể đã có người làm @liuyaohui666 đã nhận 49 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
-
theme:pytest
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 64/100
allure-framework/allure-python#929 · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
allure-framework/allure-python#930 · 3 bình luận ·
-
Added CategoriesĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
-
Phantom <lambda> teardown entries with unknown status when using pytest 9.1+Có thể đã có người làm @Mohanad49 đã nhận 53 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
allure-framework/allure-python#918 · 1 reaction ·
Tất cả issue của allure-framework/allure-python
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
UKGovernmentBEIS/inspect_ai#5802 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
no-human-ai/no_human#660 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add a Security Insights v2 fileĐang mởdocumentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation need help question
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 66/100
phonology024/babelscribe#26 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100