Sha256: 226b9e539171d0dd0100e7cda5c999c34ad99a00652eff6c3058d77e59e2a3ec

Contents?: true

Size: 841 Bytes

Versions: 13

Compression:

Stored size: 841 Bytes

Contents

Feature: Rerun formatter
  For details see https://github.com/cucumber/cucumber/issues/57

  Background:
    Given a file named "features/one_passing_one_failing.feature" with:
      """
      Feature: One passing example, one failing example

        Scenario Outline:
          Given a <certain> step
        
        Examples:
          |certain|
          |passing|
          |failing|

      """
    And a file named "features/step_definitions/steps.rb" with:
      """
      Given /a passing step/ do
        #does nothing
      end

      Given /a failing step/ do
        fail
      end
      """

  Scenario: Handle examples with the rerun formatter
    When I run `cucumber features/one_passing_one_failing.feature -r features -f rerun`
    Then it should fail with:
    """
    features/one_passing_one_failing.feature:9
    """

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
cucumber-1.3.12 features/rerun_formatter.feature
cucumber-1.3.11 features/rerun_formatter.feature
cucumber-1.3.10 features/rerun_formatter.feature
cucumber-1.3.9 features/rerun_formatter.feature
cucumber-1.3.8 features/rerun_formatter.feature
cucumber-1.3.7 features/rerun_formatter.feature
cucumber-1.3.6 features/rerun_formatter.feature
cucumber-1.3.5 features/rerun_formatter.feature
cucumber-1.3.4 features/rerun_formatter.feature
cucumber-1.3.3 features/rerun_formatter.feature
cucumber-1.3.2 features/rerun_formatter.feature
cucumber-1.3.1 features/rerun_formatter.feature
cucumber-1.3.0 features/rerun_formatter.feature