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 件 担当者 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-pytest 統合で allure.step がどのようにステップを記録するか、また pytest がアサーション失敗をどのように公開するかを確認します。収集されたステップを要求された Bug Management System API で利用可能にできるかを判断します。完了とするには、定義済みの統合、再現可能な失敗の詳細、および合意された API の動作が必要ですが、issue ではそのいずれも指定されていません。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
testing
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。