allure-framework / allure-framework/allure-python

How can I gather the steps info in script for logging bug automatically when assertion fails

未关闭
#445 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
theme:pytest
主要语言
Python
星标
814
派生
260
PR 合并指标
30 天内没有已合并 PR

描述

I'm submitting a ...
[ X] feature request

I added testing steps via allure.step for each individual stories for Allure Report, and I received a requirement that script should be able to log bug via Bug Management System API automatically when assertion fails. My problem is I need an easy way to collect the steps info I added via allure.step, so that I can log it into Bug Management System for people to reproduce the issue. Please kindly suggest. Many thanks :)

- Allure version: 2.13.0
- Test framework: pytest@5.2.4
- Allure adaptor: allure-pytest@2.8.6

贡献指南

打开贡献指南

调研方向

首先审查 allure.step 如何在 allure-pytest 集成中记录步骤,以及 pytest 如何公开断言失败。确定是否可以将收集到的步骤提供给所请求的 Bug Management System API;要视为完成,需要有明确定义的集成、可复现的失败详情以及约定的 API 行为,而 issue 未指定其中任何一项。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
testing
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。