allure-framework / allure-framework/allure-python

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

Open
#755 2 comments 0 reactions 0 assignees View on GitHub
task:improvement theme:robotframework
Dominant language
Python
Stars
814
Forks
260
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

Start with the allure_robotframework listener's get_allure_status function, where the current PASSED, FAILED, SKIPPED, and UNKNOWN mappings are described as hardcoded. Trace how its returned status reaches Allure, then verify that a known-case failure can produce BROKEN while existing statuses remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.