allure-pytest 2.13.2 will merge parameterized use cases
還沒有人認領這個 Issue。
評估
研究方向
首先使用 pytest 7.1.0 和 allure-pytest 2.13.2,透過 @pytest.mark.parametrize() 重現問題,然後將產生的報告與 allure-pytest 2.13.1 的報告進行比較。當每個參數化使用案例都有自己的執行結果,包括失敗的案例及其重試,而不是被合併到 Retries 底下時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
Bug Description
When using @pytest.mark.parametrize() parametrization, the use cases are merged in the generated allure report, and it is not possible to generate an execution result record for each parametrized use case.
Steps to reproduce
Getting report results
The @pytest.mark.parametrize() parameterization executes four use cases, three of which pass and one of which fails, and sets the failing use case to retry once, and after the execution is complete, the generated allure report can only see the last report record, and the other use case executions are all categorized under " Retries" below
Expected Result
It is possible to display execution results for each use case individually, as in allure-pytest 2.13.1.
Running environment
- Allure version: 2.13.0
- Test framework: pytest 7.1.0
- Allure adaptor: allure-pytest 2.13.2
- 主要語言
- Python
- 星號
- 820
- 分支
- 262
- 平均合併
- 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 於 57 天前認領。 未關閉
難度 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 於 61 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 58/100
allure-framework/allure-python#918 · 2 個 reaction ·
查看 allure-framework/allure-python 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 77/100
TomerAberbach/profiler-md#733 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
its-me-prash/vwgroup-connect-ha#1858 ·
維護者通常 1 天內回覆
-
area: client bug
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 85/100
leikoilja/ha-google-home#1107 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 76/100
Graphify-Labs/graphify#4524 · 1 則留言 ·
維護者通常 1 天內回覆