jenkinsci / cucumber-reports-plugin

Jenkins plugin to generate cucumber-jvm reports
https://plugins.jenkins.io/cucumber-reports/
GNU Lesser General Public License v2.1
210 stars 232 forks source link

Status Skipped in the Scenarios section #463

Closed crushpowerx closed 9 months ago

crushpowerx commented 9 months ago

What feature do you want to see added?

Hi guys! TestNG has elegant flaky tests retry functionality and it is compatible with Cucumber. But all statuses in the Cucumber.json file for retried tests are "failed". So I wrote a custom class that updates test statuses in the Cucumber.json file after all tests run. But when I use it, I get an error in the plugin because it doesn't support the status "skipped" for tests, only for test steps. Could you help with it, please?

Upstream changes

No response

Are you interested in contributing this feature?

No response

damianszczepanik commented 9 months ago

Skipped is supported by https://github.com/damianszczepanik/cucumber-reporting/blob/master/src/main/java/net/masterthought/cucumber/json/support/Status.java and rendered as https://damianszczepanik.github.io/cucumber-html-reports/report-feature_1_1515379431.html