diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-11-30 16:16:28 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-11-30 19:22:49 +0200 |
commit | 7405a3f6faccfb856d430cfd08988c8dc35893c5 (patch) | |
tree | 6c151130e5ab1f2b73ea74f8395e4d018034e667 /echo.yaml | |
parent | 609101a8506c787af00b98b81daae4d432756d15 (diff) | |
download | subplot-7405a3f6faccfb856d430cfd08988c8dc35893c5.tar.gz |
Add: sample subplot documents
Diffstat (limited to 'echo.yaml')
-rw-r--r-- | echo.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/echo.yaml b/echo.yaml new file mode 100644 index 0000000..6937d3d --- /dev/null +++ b/echo.yaml @@ -0,0 +1,17 @@ +- when: user runs echo without arguments + function: run_echo_without_args + +- when: user runs echo with arguments (?P<args>.+) + function: run_echo_with_args + +- then: exit code is (?P<exit_code>\d+) + function: exit_code_is_zero + +- then: standard output contains a newline + function: stdout_is_a_newline + +- then: standard output contains "(?P<text>.*)" + function: stdout_is_text + +- then: standard error is empty + function: stderr_is_empty |