Sha256: f81051d89cdd6a602b88a3c92d149a8fe5dfe84268f8a5f8193520f2a9d3450e

Contents?: true

Size: 703 Bytes

Versions: 5

Compression:

Stored size: 703 Bytes

Contents

Feature: Skip Scenario
  - 

  Scenario: With a failing 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)
      0m0.012s

      """

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cucumber-2.0.0.beta.5 features/docs/defining_steps/skip_scenario.feature
cucumber-2.0.0.beta.4 features/docs/defining_steps/skip_scenario.feature
cucumber-2.0.0.beta.3 features/docs/defining_steps/skip_scenario.feature
cucumber-2.0.0.beta.2 features/docs/defining_steps/skip_scenario.feature
cucumber-2.0.0.beta.1 features/docs/defining_steps/skip_scenario.feature