- 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.+)" followed by "(?P.+)" regex: true function: stdout_contains - then: stdout does NOT contain "(?P.+)" regex: true function: stdout_does_not_contain