Organizing Features and Scenarios¶
Tags¶
Tags are a great way to organize your features and scenarios. Consider this example:
@billing
Feature: Verify billing
@important
Scenario: Missing product description
Scenario: Several products
A Scenario or Feature can have as many tags as you like, just separate them with spaces:
@billing @bicker @annoy
Feature: Verify billing
Note
If a tag exists on a Feature, Behat will assign that tag to all child Scenarios and Scenario Outlines too.