Sha256: eb8d016df116732b2e983d170cb011a8b11cfb403d98214ae84bbe99bf5058e2

Contents?: true

Size: 914 Bytes

Versions: 5

Compression:

Stored size: 914 Bytes

Contents

@wip
Feature: Retry failing tests

  Retry gives you a way to get through flaky tests that usually pass after a few runs.
  This gives a development team a way forward other than disabling a valuable test.
  
  - Specify max retry count in option
  - Output information to the screen
  - Output retry information in test report
  
  Questions:
  use a tag for flaky tests?  Global option to retry any test that fails?
  
  Background:
    Given a scenario "Flakey" that fails once, then passes
    And a scenario "Shakey" that fails twice, then passes
    And a scenario "Solid" that passes
    And a scenario "No Dice" that fails
  
  Scenario:
    When I run `cucumber -q --retry 1`
    Then it should fail with:
      """
      4 scenarios (2 passed, 2 failed)
      """

  Scenario:
    When I run `cucumber -q --retry 2`
    Then it should pass with:
      """
      4 scenarios (3 passed, 1 failed)
      """

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
cucumber-2.99.0 features/docs/cli/retry_failing_tests.feature
mobiusloop-0.1.5 features/docs/cli/retry_failing_tests.feature
cucumber-2.4.0 features/docs/cli/retry_failing_tests.feature
mobiusloop-0.1.3 features/docs/cli/retry_failing_tests.feature
mobiusloop-0.1.2 features/docs/cli/retry_failing_tests.feature