cucumber-reporting
cucumber-reporting copied to clipboard
Ignore Feature Level Cucumber Tags
Hello,
The cucumber tags can be applied on scenario level and feature level. My feature file is using tags on both levels. Please check below screenshot of my cucumber report. The @Reports tag is a feature tag and @AIMAGL-5164 is scenario tag. Having feature tag in cucumber report is messing my total calculations hence I would like to know is there any way to ignore feature level tags in cucumber report? I have already tried tags = {"~@Reports"}
in TestRunner file but it doesn't work because whole feature file won't run. If there is no way to achieve this then can this functionality be added as enhancement?
There are some possibilities which you can use. Please review https://github.com/damianszczepanik/cucumber-reporting/tree/master/src/main/java/net/masterthought/cucumber/reducers and decide which one suits your requirements. If none then additional code probably needs to be developed.