summaryrefslogtreecommitdiff
path: root/vmdb2.yaml
blob: 0d0849da619f4f288285b0539002b66023dd9ca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- given: a specification file called {filename}
  function: given_file

- when: user runs vmdb2 -v {filename} --output={output}
  function: run_vmdb2

- then: exit code is {exit_code}
  function: exit_code_is

- then: stdout contains "(?P<pat1>.+)" followed by "(?P<pat2>.+)"
  regex: true
  function: stdout_contains

- then: stdout does NOT contain "(?P<pat1>.+)"
  regex: true
  function: stdout_does_not_contain