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

Tag support incomplete and broken #5

Closed
pjlsergeant opened this issue Nov 17, 2012 · 1 comment
Closed

Tag support incomplete and broken #5

pjlsergeant opened this issue Nov 17, 2012 · 1 comment
Assignees

Comments

@pjlsergeant
Copy link
Collaborator

From a bug report by Craig Caroon:

  1. Executor::execute() does not filter by tags

I discovered that, although the documentation says otherwise, the execute() method on Test::BDD::Cucumber::Executor does NOT in fact accept an optional TagSpec parameter and then filter the scenarios to be run by those tags.

  1. Scenario level tags are NOT recognized for the first Scenario in a feature file UNLESS there exists a Background section.

Without the Background section, the first set of Scenario level tags are gobbled up by the code that parses off the Conditions of Satisfaction, '_extract_conditions_of_satisfaction'.

@pjlsergeant
Copy link
Collaborator Author

Fixed in 0.12

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