Sha256: dfce6b6ef2043d021b533946f775b174a8c0ec2e76fe3b3103bc71c31115f448

Contents?: true

Size: 1.03 KB

Versions: 16

Compression:

Stored size: 1.03 KB

Contents

Feature: Rerun profile
  In order to concentrate on failing features
  As a Rails developer working with Cucumber
  I want to rerun only failing features

  Scenario: Rerun
    Given I have created a new Rails 3 app "rails-3-app" with cucumber-rails support
    And a file named "rerun.txt" with:
      """
      features/rerun_test.feature:2
      """
    And a file named "features/rerun_test.feature" with:
      """
      Feature: Rerun test
        Scenario: failing before
          Given fixed now

        Scenario: always passing
          Given passing
      """
    And a file named "features/step_definitions/rerun_steps.rb" with:
      """
      Given /fixed now/ do
        puts "All fixed now"
      end

      Given /passing/ do
        puts "I've always been passing"
      end
      """
    When I successfully run `bundle exec cucumber -p rerun`
    Then it should pass with:
      """
      1 scenario (1 passed)
      1 step (1 passed)
      """
    And the file "rerun.txt" should not contain "features/rerun_test.feature:2"
    

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
casecumber-rails-1.0.2.1 features/rerun_profile.feature
cucumber-rails-1.1.1 features/rerun_profile.feature
cucumber-rails-1.1.0 features/rerun_profile.feature
cucumber-rails-1.0.6 features/rerun_profile.feature
cucumber-rails-1.0.5 features/rerun_profile.feature
cucumber-rails-1.0.4 features/rerun_profile.feature
cucumber-rails-1.0.3 features/rerun_profile.feature
cucumber-rails-1.0.2 features/rerun_profile.feature
cucumber-rails-1.0.1 features/rerun_profile.feature
cucumber-rails-1.0.0 features/rerun_profile.feature
cucumber-rails-0.5.2 features/rerun_profile.feature
cucumber-rails-0.5.1 features/rerun_profile.feature
cucumber-rails-0.5.0 features/rerun_profile.feature
cucumber-rails-0.5.0.beta1 features/rerun_profile.feature
cucumber-rails-0.4.1 features/rerun_profile.feature
cucumber-rails-0.4.0 features/rerun_profile.feature