jnicklas/turnip

View on GitHub
examples/tags.feature

Summary

Maintainability
Test Coverage
@awesome
Feature: With tags
  @cool
  Scenario: Attack a monster with cool tag
    Given there is a monster
    When I attack it
    Then it should die

  @stealthy @wicked
  Scenario: With multiple tags
    Given there is a strong monster
    When I attack it
    And I attack it
    Then it should die

  @variety
  Scenario Outline: With tag on scenario outline
    Given there is a <Monster Type> monster
    When I attack it
    And I attack it
    Then it should die

  Examples:
    | Monster Type |
    | weak         |
    | strong       |