Sha256: 470f6ed3dbc58aa44e165cf5b06aa0542da57c92daf043bada82ec665956f58f

Contents?: true

Size: 841 Bytes

Versions: 14

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

14 entries across 12 versions & 5 rubygems

Version Path
candlepin-api-0.4.0 bundle/ruby/gems/cucumber-1.2.1/features/rerun_formatter.feature
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/cucumber-1.2.1/features/rerun_formatter.feature
candlepin-api-0.4.0 bundle/ruby/1.8/gems/cucumber-1.2.1/features/rerun_formatter.feature
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/features/rerun_formatter.feature
cucumber-1.2.5 features/rerun_formatter.feature
cucumber-1.2.3 features/rerun_formatter.feature
cucumber-1.2.2 features/rerun_formatter.feature
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/features/rerun_formatter.feature
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/features/rerun_formatter.feature
casecumber-1.2.1.cb2 features/rerun_formatter.feature
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/features/rerun_formatter.feature
cucumber-1.2.1 features/rerun_formatter.feature
ftl-0.2.0 vendor/bundle/gems/cucumber-1.2.0/features/rerun_formatter.feature
cucumber-1.2.0 features/rerun_formatter.feature