Add ability to add parametr to name of paramerised test case
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 30/100
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện ví dụ được cung cấp với allure-pytest và pytest.mark.parametrize, sau đó kiểm tra cách @allure.title và các trường hợp được tham số hóa được biểu diễn trong tích hợp hiện có. Làm rõ cú pháp và quy tắc đặt tên dự kiến trước khi thay đổi bất kỳ điều gì; công việc được xem là hoàn tất khi tên của các bài kiểm thử được tham số hóa hiển thị rõ tham số đã chọn trong báo cáo Allure.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hello.
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.
It would be great to have ability to add parameter to name of parameterized test case.
What is the current behavior?
If I have a huge number of parameters in my test case it becomes tricky to find righr one in allure report.
@allure.title('TEST')
@pytest.mark.parametrize('browser_manager', [param1, param2, param3, param4, param5, param6], indirect=True)
def test():
with allure.step('1'):
pass
with allure.step('2'):
pass
What is the expected behavior?
It would be great to have ability to add parameter to name of parameterized test case.
Please tell us about your environment:
- Allure version: 4.21.0
- Test framework: [email protected]
- 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 48 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 ·
-
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 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
allure-framework/allure-python#903 · 1 bình luận ·
Tất cả issue của allure-framework/allure-python
Issue tương tự
-
bug ready for review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
odysseus-dev/odysseus#6641 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
happypawspillaro/happypaws#78 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
pydanty:is-working
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
pydantic/pydantic-ai#10020 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ansible-collections/ibm_zos_core#2650 ·
-
hw: pvc tests: vllm vllm
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
intel/intel-xpu-backend-for-triton#8362 ·
Maintainer thường phản hồi trong vòng 1 ngày