allure-framework / allure-framework/allure-python
with `pytest-rerunfailures`, reruns are not recognized
- Lingua principale
- Python
- Stelle
- 814
- Fork
- 260
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**Describe the bug**
Running a Pytest Test-Suite with the pytest-rerunfailures plugin does not recognize reruns. Instead, the result of the last run test is shown. Previously failed tests can be found as duplicates in the timeline. The flaky marker is not applied.
**Expected behavior**
The result of the last run test is shown. A flaky marker is applied. I am able to filter for tests that were rerun.
**Screenshots**
Example Test first run (failed):

Example Test second run via --reruns=5 (succeeded)

No flaky marker for test:

**Environment (please complete the following information):**
| Allure version | 2.13.6 |
| Python | 3.6.12 |
| Test framework | pytest@6.1.2 |
| Allure adaptor | allure-pytest@2.8.31, pytest-rerunfailures@9.1.1 |
| Generate report using | https://github.com/simple-elf/allure-report-action |
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il problema con le versioni indicate di Python, pytest, allure-pytest e pytest-rerunfailures, confrontando la prima esecuzione fallita con la riesecuzione riuscita. Traccia come la riesecuzione appare nella timeline e nel report, e considera il problema completato quando il risultato finale viene mostrato una sola volta, viene applicato un marker flaky e i test rieseguiti possono essere filtrati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- testing
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100