Debian Codegraph @

tools/test-features/outline.feature

raw
1 Feature: support scenario outlines
2
3 Scenario Outline: run scenarios with one example table
4 Given Some text <prefix>
5 When we add some text <suffix>
6 Then we should get the <combination>
7
8 Examples: some simple examples
9 | prefix | suffix | combination |
10 | go | ogle | google |
11 | onomat | opoeia | onomatopoeia |
12 | comb | ination | combination |
13
14 Scenario Outline: run scenarios with examples
15 Given Some text <prefix>
16 When we add some text <suffix>
17 Then we should get the <combination>
18
19 Examples: some simple examples
20 | prefix | suffix | combination |
21 | go | ogle | google |
22 | onomat | opoeia | onomatopoeia |
23 | comb | ination | combination |
24
25 Examples: some other examples
26 | prefix | suffix | combination |
27 | 1 | 2 | 12 |
28 | one | two | onetwo |
29
30 @xfail
31 Scenario Outline: scenarios that reference invalid subs
32 Given Some text <prefix>
33 When we add try to use a <broken> reference
34 Then it won't work
35
36 Examples: some simple examples
37 | prefix |
38 | go |
39