Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore Feature Level Cucumber Tags #1089

Open
rahulmangulkar opened this issue Feb 16, 2023 · 1 comment
Open

Ignore Feature Level Cucumber Tags #1089

rahulmangulkar opened this issue Feb 16, 2023 · 1 comment

Comments

@rahulmangulkar
Copy link

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?

image

@damianszczepanik
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants