blob: b72c435bf13cc2fddbadee7ee40fac2e7ffa2b99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
- given: an installed subplot
function: install_subplot
cleanup: uninstall_subplot
- then: scenario "(?P<name>.+)" was run
function: scenario_was_run
regex: true
- then: scenario "(?P<name>.+)" was not run
function: scenario_was_not_run
regex: true
- then: step "(?P<keyword>given|when|then) (?P<name>.+)" was run
function: step_was_run
regex: true
- then: step "(?P<keyword1>given|when|then) (?P<name1>.+)" was run, and then step "(?P<keyword2>given|when|then) (?P<name2>.+)"
function: step_was_run_and_then
regex: true
- then: cleanup for "(?P<keyword1>given|when|then) (?P<name1>.+)" was run, and then for "(?P<keyword2>given|when|then) (?P<name2>.+)"
function: cleanup_was_run
regex: true
- then: cleanup for "(?P<keyword>given|when|then) (?P<name>.+)" was not run
function: cleanup_was_not_run
regex: true
- then: JSON output matches {filename}
function: json_output_matches_file
- then: "{filename} does not end in a newline"
function: file_ends_in_zero_newlines
- then: "{filename} ends in one newline"
function: file_ends_in_one_newline
- then: "{filename} ends in two newlines"
function: file_ends_in_two_newlines
|