allure-framework / allure-framework/allure-python

Pytest: report collection errors

Aperta
#859 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
task:new feature theme:pytest theme:pytest-bdd
Lingua principale
Python
Stelle
814
Fork
260
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il problema con l'opzione --continue-on-collection-errors di pytest e ispeziona i file generati in _alluredir_. Traccia il modo in cui allure-pytest gestisce gli errori di raccolta; il lavoro è completato quando i test falliti compaiono nel report Allure con i file JSON corrispondenti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
testing
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.