Sha256: 6a60d0fa685d39b9926444113e7cb7a0e5cc26d6c57590d3f6d4053aa889e8d4

Contents?: true

Size: 1.25 KB

Versions: 25

Compression:

Stored size: 1.25 KB

Contents

Feature: Advanced scenarios

  Scenario Outline: A scenario outline
    Given I am using a scenario outline
    When I use <first>
    And I use <second>
    Then the examples should work

  Examples:
  | first | second |
  | aaa   | bbb    |
  | ccc   | ddd    |
  | eee   | fff    |
    
  Scenario: Nested table in a step
    When I have a nested table step like this:
    | key1   | key2   | key3   |
    | value1 | value2 | value3 |
    Then the table should be displayed in the results

  Scenario: A scenario with muti-line arguments
    When Cucumber puts
      """
      Hello with
      more than one
      line in a string
      """
    Then it should say
      """
      Hello with
      more than one
      line in a string
      """

  Scenario Outline:  Fails during examples
    Given I am using a scenario outline
    When I fail with <first>
    Then I use <second>
    Then the examples should not work
  
  Examples:
  | first | second |
  | aaa   | bbb    |
  | ccc   | ddd    |
  | eee   | fff    |
  
  Scenario Outline:  Fails before examples
    Given the first step fails
    When I use <first>
    And I use <second>
    Then the examples should not work

  Examples:
  | first | second |
  | aaa   | bbb    |
  | ccc   | ddd    |
  | eee   | fff    |

Version data entries

25 entries across 25 versions & 3 rubygems

Version Path
ugly_face-0.8 fixtures/advanced.feature
ugly_face-0.7 fixtures/advanced.feature
ugly_face-0.6 fixtures/advanced.feature
ugly_face-0.5 fixtures/advanced.feature
ugly_face-0.4 fixtures/advanced.feature
ugly_face-0.3 fixtures/advanced.feature
ugly_face-0.2 fixtures/advanced.feature
ugly_face-0.1 fixtures/advanced.feature
pretty_face-0.10.3 fixtures/advanced.feature
sponte_pretty_face-0.10.3 fixtures/advanced.feature
pretty_face-0.10.2 fixtures/advanced.feature
pretty_face-0.10.1 fixtures/advanced.feature
pretty_face-0.10 fixtures/advanced.feature
pretty_face-0.9.1 fixtures/advanced.feature
pretty_face-0.9 fixtures/advanced.feature
pretty_face-0.8.2 fixtures/advanced.feature
pretty_face-0.8.1 fixtures/advanced.feature
pretty_face-0.8 fixtures/advanced.feature
pretty_face-0.7 fixtures/advanced.feature
pretty_face-0.6.1 fixtures/advanced.feature