summaryrefslogtreecommitdiff
path: root/vmdb2.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vmdb2.yaml')
-rw-r--r--vmdb2.yaml8
1 files changed, 5 insertions, 3 deletions
diff --git a/vmdb2.yaml b/vmdb2.yaml
index 1a66759..0d0849d 100644
--- a/vmdb2.yaml
+++ b/vmdb2.yaml
@@ -1,14 +1,16 @@
-- given: a specification file called (?P<filename>\S+)
+- given: a specification file called {filename}
function: given_file
-- when: user runs vmdb2 -v (?P<filename>\S+) --output=(?P<output>\S+)
+- when: user runs vmdb2 -v {filename} --output={output}
function: run_vmdb2
-- then: exit code is (?P<exit_code>\d+)
+- 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