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
- 星标
- 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 于 51 天前认领。 未关闭
难度 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 于 55 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 58/100
allure-framework/allure-python#918 · 1 个 reaction ·
查看 allure-framework/allure-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 63/100
GAM-team/got-your-back#547 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
UKGovernmentBEIS/inspect_ai#5821 ·
维护者通常 1 天内回复
-
docs help wanted
难度 1/5 1-3 小时 新手友好度 75/100
-
evidence wanted good first issue help wanted
难度 2/5 1-3 小时 新手友好度 72/100
open-coder-ai/agentseam#195 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复