allure-framework / allure-framework/allure-python
Add posibility to allure_robotframework listener to send "broken" test status to allure
- Vorherrschende Sprache
- Python
- Sterne
- 814
- Forks
- 260
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
#### 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
Beitragsleitfaden
Rechercherichtung
Beginne mit der Funktion get_allure_status des allure_robotframework-Listeners, bei der die aktuellen Zuordnungen PASSED, FAILED, SKIPPED und UNKNOWN als fest codiert beschrieben werden. Verfolge, wie der von ihr zurückgegebene Status Allure erreicht, und überprüfe anschließend, dass ein Fehler in einem bekannten Fall BROKEN ergeben kann, während die bestehenden Status unverändert bleiben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- testing
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100