allure-framework / allure-framework/allure-python

Add posibility to allure_robotframework listener to send "broken" test status to allure

オープン
#755 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
task:improvement theme:robotframework
主要言語
Python
スター
814
フォーク
260
PR マージ指標
30日以内にマージされた PR はありません

説明

#### 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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

allure_robotframework listener の get_allure_status 関数から始めます。ここでは、現在の PASSED、FAILED、SKIPPED、UNKNOWN のマッピングがハードコードされていると説明されています。返されたステータスがどのように Allure に到達するかを追跡し、その後、既知のケースでの失敗によって BROKEN が生成される一方で、既存のステータスは変更されないことを確認します。

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

評価

技術スタック
python
領域
testing
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

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

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