Add posibility to allure_robotframework listener to send "broken" test status to allure
還沒有人認領這個 Issue。
評估
研究方向
從 allure_robotframework listener 的 get_allure_status 函式開始,該函式目前的 PASSED、FAILED、SKIPPED 和 UNKNOWN 對映被描述為硬編碼。追蹤其回傳的狀態如何到達 Allure,然後驗證已知情況下的失敗可以產生 BROKEN,同時現有狀態維持不變。
由索引模型根據 Issue 內容生成。
描述
I'm submitting a ...
- feature request
What is the current behavior?
Currently allure_robotframework listener can send just four statuses to Allure - PASSED, FAILED, SKIPPED, UNKOWN (only in failure case), those are hardcoded in get_allure_status function.
What is the expected behavior?
Add possibility to send other test statuses, for example, BROKEN that actually in the default allure statuses list.
What is the motivation / use case for changing the behavior?
In my case we need to divide failed cases by different statuses on allure(failed for usual failures and broken for known cases with opened issues)
Please tell us about your environment:
allure-python-commons 2.13.2
allure-robotframework 2.13.2
- 主要語言
- Python
- 星號
- 820
- 分支
- 262
- 平均合併
- 1 小時 1 分鐘
- 30 天內合併 PR
- 2
環境準備
- 沒有 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 於 73 天前認領。 未關閉
難度 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 於 77 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 58/100
allure-framework/allure-python#918 · 2 個 reaction ·
查看 allure-framework/allure-python 的全部 Issue
相似的 Issue
-
area:scripts area:tests bug priority:later
難度 2/5 1-3 小時 新手友好度 72/100
Ikalus1988/MisakaNet#4358 ·
維護者通常 1 天內回覆
-
Discovered ports from service discovery are never propagated to modules in Module.load()可能已有人在做 @vishalmore90 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 70/100
OWASP/Nettacker#1828 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
aws-samples/sample-per-model-bedrock#708 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 75/100
sjkim1127/Reversecore_MCP#365 ·
維護者通常 1 天內回覆