allure-framework / allure-framework/allure-python

Phantom <lambda> teardown entries with unknown status when using pytest 9.1+

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

説明

## Description

When using `allure-pytest` (2.15.3 or 2.16.0) with `pytest >= 9.1.0`, every fixture produces a phantom `::` afterStage entry in the Allure report with `unknown` status. These entries are not real teardown failures — they are internal pytest finalizers that allure wraps but are never invoked through allure's wrapper.

Image

Versions
- pytest: 9.1.1
- allure-pytest: 2.16.0
- Python: 3.12
Works correctly with pytest <= 9.0.x.

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

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

調査の方向性

Start by reproducing the report with allure-pytest 2.15.3 or 2.16.0 and pytest 9.1.1, then compare it with pytest 9.0.x. Trace the allure-pytest fixture teardown integration implicated by the issue; done means reports no longer contain phantom :: afterStage entries with unknown status.

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

評価

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

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

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