Add ability to add parametr to name of paramerised test case
還沒有人認領這個 Issue。
評估
研究方向
首先使用 allure-pytest 和 pytest.mark.parametrize 重現所提供的範例,接著檢查現有整合中如何表示 @allure.title 和參數化案例。在進行任何變更之前,釐清預期的語法和命名規則;當參數化測試名稱在 Allure 報告中清楚地顯示所選參數時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
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]
- 主要語言
- Python
- 星號
- 819
- 分支
- 261
- 平均合併
- 3 小時 20 分鐘
- 30 天內合併 PR
- 3
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
allure-framework/allure-python 的其他 Issue
-
[allure-behave] Steps from tag-excluded scenarios bleed into the next matching scenario's result when hide_excluded=true可能已有人在做 @liuyaohui666 於 48 天前認領。 未關閉
難度 1/5 1 小時以內 新手友好度 84/100
-
theme:pytest
難度 3/5 1-2 天 新手友好度 64/100
allure-framework/allure-python#929 · 1 個 reaction ·
-
難度 4/5 3-5 天 新手友好度 30/100
allure-framework/allure-python#930 · 3 則留言 ·
-
Added Categories未關閉
難度 3/5 1-2 天 新手友好度 55/100
-
Phantom <lambda> teardown entries with unknown status when using pytest 9.1+可能已有人在做 @Mohanad49 於 53 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 58/100
allure-framework/allure-python#918 · 1 個 reaction ·
查看 allure-framework/allure-python 的全部 Issue
相似的 Issue
-
HTML: <template> content is extracted as document text可能已有人在做 @ryanmeowy 今天認領。 未關閉bug html
難度 1/5 1 小時以內 新手友好度 82/100
docling-project/docling#4714 · 2 則留言 ·
維護者通常 1 天內回覆
-
[BUG] Qdrant RAG client applies score_threshold to raw cosine similarity, not the 0-1 score it returns可能已有人在做 @roydonsequeira 今天認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 70/100
維護者通常 1 天內回覆
-
Host test failure in core/direct_io.zig on Linux kernel 6.17: O_DIRECT open succeeds on procfs, so the test's 'plain' fd is not plain可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
ashhart/TensorFold#536 ·
維護者通常 1 天內回覆
-
area/install-update comp/cli duplicate P2 python:uv sweeper:risk-compatibility type/bug
難度 1/5 1 小時以內 新手友好度 62/100
NousResearch/hermes-agent#135440 · 1 則留言 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 85/100
Deepak3699/Ai_Mentor#244 ·
維護者通常 1 天內回覆