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

Already on GitHub? Sign in to your account

Tags support #7

jbpros opened this Issue Jun 1, 2011 · 7 comments


None yet
2 participants

jbpros commented Jun 1, 2011

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


@ghost ghost assigned jbpros Jan 20, 2012


jbpros commented Jan 20, 2012

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


mcollina commented Jan 27, 2012

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


jbpros commented Jan 27, 2012

@mcollina It's on its way :)

jbpros added a commit that referenced this issue Jan 29, 2012

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.

@jbpros jbpros closed this in c5dcf07 Feb 3, 2012

@jbpros jbpros reopened this Feb 3, 2012


jbpros commented Feb 3, 2012

Tags on scenarios are supported but not on features yet.

@jbpros jbpros closed this in 01cfa8c Feb 3, 2012


mcollina commented Feb 3, 2012



jbpros commented Feb 3, 2012

@mcollina I'll release this tomorrow.


jbpros commented Feb 4, 2012

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