Sha256: 2411752f426daf5c047a9e48e445a0d18596a0884b25fada0833dcb5d2ae0138

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

Feature: support scenario outlines

  Scenario Outline: run scenarios with one example table
    Given Some text <prefix>
     When we add some text <suffix>
     Then we should get the <combination>

     Examples: some simple examples
      | prefix  | suffix  | combination  |
      | go      | ogle    | google       |
      | onomat  | opoeia  | onomatopoeia | 
      | comb    | ination | combination  |

  Scenario Outline: run scenarios with examples
    Given Some text <prefix>
     When we add some text <suffix>
     Then we should get the <combination>

     Examples: some simple examples
      | prefix  | suffix  | combination  |
      | go      | ogle    | google       |
      | onomat  | opoeia  | onomatopoeia | 
      | comb    | ination | combination  |

     Examples: some other examples
      | prefix  | suffix | combination |
      | 1       | 2      | 12          |
      | one     | two    | onetwo      |

  @xfail
  Scenario Outline: scenarios that reference invalid subs
    Given Some text <prefix>
     When we add try to use a <broken> reference
     Then it won't work

     Examples: some simple examples
      | prefix  |
      | go      |

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
busser-behave-0.1.3 vendor/behave/tools/test-features/outline.feature