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

Tags are not parsed correctly #106

Closed
Powerhamster opened this issue Apr 12, 2016 · 0 comments
Closed

Tags are not parsed correctly #106

Powerhamster opened this issue Apr 12, 2016 · 0 comments

Comments

@Powerhamster
Copy link

I have configured a filter for skipping incomplete tests

default:
  suites:
  ...
    filters:
      tags: ~@skipped

I have multiple files in the same directory. The first one contains the tag @Skipped in der first line. The second one doen't have the tag.

All scenarios of the second feature file are filtered because the Parser is using the Tags of the first feature file for the second file.

The parseFeature() method is using popTags() which sets tags to the value that the parser found the last time it was used.

Should not tags be reseted every time a new feature is parsed?

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

1 participant