allure-framework / allure-framework/allure2

Extend StatusChartData or create new widget to include also reason for Skipped tests

Open
#1,646 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
5.5k
Forks
782
Avg merge
2d 33m
Merged PRs (30d)
16

Description

**Is your feature request related to a problem? Please describe.**
I am using **pytest** and I need a widget that contains also information regarding the reason of the skipped tests.

As I see, there are currently two widgets that contain the same data:
- severity.json (allure-generator/src/main/java/io/qameta/allure/severity/SeverityPlugin.java)
- status-chart.json (allure-generator/src/main/java/io/qameta/allure/status/StatusChartPlugin.java

![image](https://user-images.githubusercontent.com/100442739/166718853-a2361c04-c9d5-41ac-bc57-0dbd73ca5f41.png)

![image](https://user-images.githubusercontent.com/100442739/166718893-0ca60762-feac-482b-9190-2bd222f892ab.png)

**Describe the solution you'd like**
I need if possible a widget that besides the attributes included above to also contain the reason for the skipped tests.

**Describe alternatives you've considered**
The alternative would be if possible to extend StatusChartData to also include the reason for the Skipped tests.

Contributor guide

Open the contributing guide

Research direction

Start with allure-generator/src/main/java/io/qameta/allure/severity/SeverityPlugin.java and allure-generator/src/main/java/io/qameta/allure/status/StatusChartPlugin.java to compare the existing widget data. Determine how skipped-test information is represented, then make the resulting widget or StatusChartData include the skipped-test reason; done means the generated data exposes that reason alongside the existing attributes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.