Sha256: 239001e675eb6754f7d7b7401eb7303257dfee2a177b04e18bd19d9d56a88f27

Contents?: true

Size: 1.81 KB

Versions: 8

Compression:

Stored size: 1.81 KB

Contents

Feature: Cucumber command line
  In order to write better software
  Developers should be able to execute requirements as tests
  
  Scenario: Run scenario outline steps only
    When I run cucumber -q features/outline_sample.feature:3
    Then it should pass with
      """
      Feature: Outline Sample
        Scenario Outline: Test state
          Given <state> without a table

          |state  |

      1 scenario
    
      """
  
  Scenario: Run single scenario outline table row with missing step definition
    When I run cucumber -q features/outline_sample.feature:7
    Then it should pass with
      """
      Feature: Outline Sample
        Scenario Outline: Test state
          Given <state> without a table

          |state  |
          |missing|

      2 scenarios
      1 step pending (1 with no step definition)
      
      """

  Scenario: Run single failing scenario outline table row
    When I run cucumber -q features/outline_sample.feature:9
    Then it should fail with
      """
      Feature: Outline Sample
        Scenario Outline: Test state
          Given <state> without a table

          |state  |
          |failing|

            FAIL (RuntimeError)
            ./features/step_definitions/sample_steps.rb:12:in ` /^failing without a table$/'
            features/outline_sample.feature:9:in `/^failing without a table$/'

      2 scenarios
      1 step failed

      """

  Scenario: Run all with progress formatter
    When I run cucumber -q --format progress features/outline_sample.feature
    Then it should fail with
      """
      P.F

      Pending Scenarios:

      1)  Outline Sample (Test state)


      Failed:

      1)
      FAIL
      ./features/step_definitions/sample_steps.rb:12:in ` /^failing without a table$/'
      features/outline_sample.feature:9:in `/^failing without a table$/'

      """

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
aslakhellesoy-cucumber-0.1.16.1 features/cucumber_cli_outlines.feature
aslakhellesoy-cucumber-0.1.16.2 features/cucumber_cli_outlines.feature
aslakhellesoy-cucumber-0.1.16.3 features/cucumber_cli_outlines.feature
aslakhellesoy-cucumber-0.1.16.4 features/cucumber_cli_outlines.feature
aslakhellesoy-cucumber-0.1.16 features/cucumber_cli_outlines.feature
kosmas58-cucumber-0.1.16.5 features/cucumber_cli_outlines.feature
kosmas58-cucumber-0.1.16.6 features/cucumber_cli_outlines.feature
cucumber-0.1.16 features/cucumber_cli_outlines.feature