allure-framework / allure-framework/allure-python

Pytest: report collection errors

Open
#859 0 comments 1 reaction 0 assignees View on GitHub
task:new feature theme:pytest theme:pytest-bdd
Dominant language
Python
Stars
814
Forks
260
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with pytest's --continue-on-collection-errors option and inspect the generated files in _alluredir_. Trace how allure-pytest handles collection failures; done means the failing tests appear in the Allure report with corresponding JSON files.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.