Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 843 Bytes

shell.md

File metadata and controls

36 lines (29 loc) · 843 Bytes

Shell

Initialize resource in config.yml:

resources:
  - name: # name of the resource
    type: shell

Actions

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"