Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Tags support #7

Closed
jbpros opened this Issue · 7 comments

2 participants

@jbpros
Owner

Add support for tags on features and scenario; filter based on those tags.

https://github.com/cucumber/cucumber/wiki/Tags

@jbpros jbpros was assigned
@jbpros
Owner

This is the next addition. Waiting for tags.feature to be reviewed.

@mcollina

+1, with this added it will be ready for my daily usage.

@jbpros
Owner

@mcollina It's on its way :)

@jbpros jbpros referenced this issue from a commit
@jbpros jbpros Refactor parser and add AST assembler (required by #7)
In order to get tag support (#7), it was necessary to decouple Gherkin parsing callbacks from the actual assembly of the Abstract Structured Tree.

- Extracted AST assembly logic into a new Cucumber.Ast.Assembler object;
- AST elements now handle specific back-references instead of relying on the builder (e.g. previously, the parser was setting the background on a new scenario; the Feature element is now taking care of it when the scenario is appended);
- Refactored some related specs.
2c5283d
@jbpros jbpros closed this in c5dcf07
@jbpros jbpros reopened this
@jbpros
Owner

Tags on scenarios are supported but not on features yet.

@jbpros jbpros closed this in 01cfa8c
@mcollina
@jbpros
Owner

@mcollina I'll release this tomorrow.

@jbpros
Owner

Tags are now live on 0.2.6!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.