allure-framework / allure-framework/allure-python
Pytest: report collection errors
- 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
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