dotnetprofessional / LiveDoc

A Living Documentation platform for BDD (Gherkin) specifications.
MIT License
9 stars 2 forks source link

Add tag support #11

Closed dotnetprofessional closed 7 years ago

dotnetprofessional commented 7 years ago

Feature

Add the ability to tag features and scenarios for easier referencing.

Proposal

Add code>@tag</code method decorator to augment features and scenarios.

https://cucumber.io/docs/reference#tags

dotnetprofessional commented 7 years ago

Unable to use decorators as they are not supported on pure functions. Opted for adding tags into description for Feature, Scenario, Background and Scenario Outline. ie

feature(feature title @mytag another-tag)

dotnetprofessional commented 7 years ago

added in v0.2.2