allure-framework / allure-framework/allure-python

Pytest: report collection errors

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

説明

### Discussed in https://github.com/orgs/allure-framework/discussions/2987

Originally posted by **cml8ds** May 5, 2025
I run my test suite using pytest `--continue-on-collection-errors` option.

I don't see the failing tests at collection step in the report and it seems that allure-pytest is not creating any json files in _alluredir_ for these tests.

Is there a way to change this behavior?

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

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

調査の方向性

まず、pytest の --continue-on-collection-errors オプションを使って問題を再現し、_alluredir_ に生成されたファイルを調べます。allure-pytest がテストのコレクション失敗をどのように処理するかを追跡します。失敗したテストが対応する JSON ファイルとともに Allure レポートに表示されれば完了です。

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

評価

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

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

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