blob: 1a66759cc2c9c35ceca356e400120dbbd41c740e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
- given: a specification file called (?P<filename>\S+)
function: given_file
- when: user runs vmdb2 -v (?P<filename>\S+) --output=(?P<output>\S+)
function: run_vmdb2
- then: exit code is (?P<exit_code>\d+)
function: exit_code_is
- then: stdout contains "(?P<pat1>.+)" followed by "(?P<pat2>.+)"
function: stdout_contains
- then: stdout does NOT contain "(?P<pat1>.+)"
function: stdout_does_not_contain
|