Sha256: ad4c8c7c2de38a63a190d9e07aa553863a9444651f11460910a023a5c9d5e662

Contents?: true

Size: 698 Bytes

Versions: 3

Compression:

Stored size: 698 Bytes

Contents

Feature: Skip Scenario

  @todo-windows
  Scenario: With a passing step
    Given a file named "features/test.feature" with:
      """
      Feature: test
        Scenario: test
          Given this step says to skip
          And this step passes
      """
    And the standard step definitions
    And a file named "features/step_definitions/skippy.rb" with:
      """
      Given /skip/ do
        skip_this_scenario
      end
      """
    When I run `cucumber -q`
    Then it should pass with exactly:
      """
      Feature: test

        Scenario: test
          Given this step says to skip
          And this step passes

      1 scenario (1 skipped)
      2 steps (2 skipped)

      """

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cucumber-3.0.1 features/docs/defining_steps/skip_scenario.feature
cucumber-3.0.0 features/docs/defining_steps/skip_scenario.feature
cucumber-3.0.0.pre.2 features/docs/defining_steps/skip_scenario.feature