allure-framework / allure-framework/allure-python

allure-behave formatter doesn't generate json files if there is an exception in before_feature() method

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

説明

When I run behave with allure formatter, and there is an exception in before_feature(), json files doesn't created, which means that when I generate allure report, I get no information about tests in that feature

There is sample project in attachment. Run it with `behave -f allure_behave.formatter:AllureFormatter -o output_folder`
[sample_project.zip](https://github.com/allure-framework/allure-python/files/2729380/sample_project.zip)

- Test framework: behave@1.2.6
- Allure adaptor: allure-behave@2.5.4

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

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

調査の方向性

Start with the attached sample project and run `behave -f allure_behave.formatter:AllureFormatter -o output_folder` using behave 1.2.6 and allure-behave 2.5.4. Inspect the formatter entry point and existing tests for feature setup failures; done means the failing feature produces JSON files containing information when before_feature() raises an exception.

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

評価

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

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

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