jenkinsci / allure-plugin

Allure Jenkins Plugin
https://plugins.jenkins.io/allure-jenkins-plugin/
Other
83 stars 67 forks source link

Get passed and failed suite names and the number of test cases in each suite/sub-suite #308

Open kartnan opened 2 years ago

kartnan commented 2 years ago

What feature do you want to see added?

From the ru.yandex.qatools.allure.jenkins.AllureReportBuildAction.class we could get the number of passed, skipped, broken, failed tests, but not the name of the failed/broken test cases/suites.

We need a feature to get the name of the failed, broken tests and possibly the suite and sub-suite they belong to.

It will be nice to show the passed and failed tests in each suite along with the name of the failed tests in each suite.

The name of the failed and broken test cases along with their suite and sub-suite names are already inside allure-report\data\suites.json file @eroshenkoam @qameta-ci @jglick @julianladisch

kartnan commented 2 years ago

Right now i'm getting this from allure-report\widgets\suites.json but that doesn't show suite, subsuites, if there is a parent suite. Otherwise I can see the suite name and the number of failed, passed, broken testcases in that suite. I use this workaround to accomplish what I need, but there sure is a better way to do this.