tests: - name: missing config path command: - $env: SERVERIFY expect: status: eq: 2 stderr: contain: "Usage: serverify " - name: when config path is not found command: - $env: SERVERIFY - /dev/null/serverify.yaml expect: status: eq: 2 stderr: contain: "cannot read config from /dev/null/serverify.yaml:" - name: when config is not valid yaml command: - $env: SERVERIFY - $tmp_file: filename: serverify.yaml contents: 'paths: {' expect: status: eq: 2 stderr: contain: "cannot read config from" - name: when config is not valid command: - $env: SERVERIFY - $tmp_file: filename: serverify.yaml contents: '{}' expect: status: eq: 2 stderr: contain: "cannot read config from"