Initialize resource in config.yml
:
resources:
- name: # name of the resource
type: shell
Notes: saved output will be cleared after contains or not contains performed
- Execute - to execute command
Given "$resourceName" execute "$command"
- Stdout Contains - to check if stdout contains substring
Given "$resourceName" stdout should contains "$substring"
- Stdout Not Contains - to check if stdout contains substring
Given "$resourceName" stdout should not contains "$substring"
- Stderr Contains - to check if stderr contains substring
Given "$resourceName" stderr should contains "$substring"
- Stderr Not Contains - to check if stderr contains substring
Given "$resourceName" stderr should not contains "$substring"