Sha256: 4d0947e0fa7abeb45e98e797c379e0339acab031c582282855070f479170179d

Contents?: true

Size: 933 Bytes

Versions: 40

Compression:

Stored size: 933 Bytes

Contents

Feature: Rerun Debugger
  In order to save time
  I want to run *only* failed, pending and missing features from previous runs
  (with the help of a smart cucumber.yml)

  Background:
    Given a standard Cucumber project directory structure

  Scenario: title
    Given a file named "features/sample.feature" with:
      """
      Feature: Rerun

        Scenario: Failing
          Given failing

        Scenario: Missing
          Given missing

        Scenario: Pending
          Given pending

        Scenario: Passing
          Given passing
      """
    And a file named "features/step_definitions/steps.rb" with:
      """
      Given /failing/ do
        raise 'FAIL'
      end

      Given /pending/ do
        pending
      end

      Given /passing/ do
      end
      """

    When I run cucumber -f rerun features/sample.feature
    Then it should fail with
      """
      features/sample.feature:3:6:9

      """

Version data entries

40 entries across 40 versions & 4 rubygems

Version Path
cucumber-1.0.0 legacy_features/rerun_formatter.feature
cucumber-0.8.7 features/rerun_formatter.feature
cucumber-0.10.7 legacy_features/rerun_formatter.feature
cucumber-0.10.6 legacy_features/rerun_formatter.feature
cucumber-0.10.5 legacy_features/rerun_formatter.feature
cucumber-0.10.3 legacy_features/rerun_formatter.feature
cucumber-0.10.2 legacy_features/rerun_formatter.feature
cucumber-0.10.1 legacy_features/rerun_formatter.feature
stefl-cucumber-0.10.1 legacy_features/rerun_formatter.feature
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/cucumber-0.9.4/features/rerun_formatter.feature
vim-jar-0.1.2 bundler/ruby/1.8/gems/cucumber-0.9.4/features/rerun_formatter.feature
vim-jar-0.1.1 bundler/ruby/1.8/gems/cucumber-0.9.4/features/rerun_formatter.feature
vim-jar-0.1.0 bundler/ruby/1.8/gems/cucumber-0.9.4/features/rerun_formatter.feature
cucumber-0.10.0 legacy_features/rerun_formatter.feature
cucumber-0.9.4 features/rerun_formatter.feature
cucumber-0.9.3 features/rerun_formatter.feature
cucumber-0.9.2 features/rerun_formatter.feature
cucumber-0.9.1 features/rerun_formatter.feature
cucumber-0.9.0 features/rerun_formatter.feature
cucumber-0.8.5 features/rerun_formatter.feature