diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-04-18 14:06:23 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-04-19 15:28:48 +0300 |
commit | 30447917d785345dd99ee8cfe601b94ff413260c (patch) | |
tree | 998c237c45e10b3c752f94c6e26b1b44cc5e1231 /echo.yaml | |
parent | 9f1bd185832c6e8acfafa6c66545a1921891da2e (diff) | |
download | subplot-30447917d785345dd99ee8cfe601b94ff413260c.tar.gz |
Add: acceptance criteria for simple patterns
This adds scenarios for regex patterns capture and simple pattern
capture from scenario steps, and additionally makes use of simple
patterns everywhere possible in the examples.
Diffstat (limited to 'echo.yaml')
-rw-r--r-- | echo.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,15 +3,18 @@ - when: user runs echo with arguments (?P<args>.+) function: run_echo_with_args + regex: true - then: exit code is (?P<exit_code>\d+) function: exit_code_is + regex: true - then: standard output contains a newline function: stdout_is_a_newline - then: standard output contains "(?P<text>.*)" function: stdout_is_text + regex: true - then: standard error is empty function: stderr_is_empty |