allure-framework / allure-framework/allure-python

Add posibility to allure_robotframework listener to send "broken" test status to allure

Aperta
#755 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
task:improvement theme:robotframework
Lingua principale
Python
Stelle
814
Fork
260
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

#### I'm submitting a ...
- [ ] feature request

#### What is the current behavior?
Currently allure_robotframework listener can send just four statuses to Allure - PASSED, FAILED, SKIPPED, UNKOWN (only in failure case), those are hardcoded in `get_allure_status` function.

#### What is the expected behavior?
Add possibility to send other test statuses, for example, BROKEN that actually in the default allure statuses list.

#### What is the motivation / use case for changing the behavior?
In my case we need to divide failed cases by different statuses on allure(failed for usual failures and broken for known cases with opened issues)

#### Please tell us about your environment:

allure-python-commons 2.13.2
allure-robotframework 2.13.2

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con la funzione get_allure_status del listener allure_robotframework, dove le mappature attuali PASSED, FAILED, SKIPPED e UNKNOWN sono descritte come codificate staticamente. Traccia il percorso con cui lo stato restituito raggiunge Allure, quindi verifica che un errore in un caso noto possa produrre BROKEN mentre gli stati esistenti rimangono invariati.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.