summaryrefslogtreecommitdiff
path: root/echo.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-11-30 16:16:28 +0200
committerLars Wirzenius <liw@liw.fi>2019-11-30 19:22:49 +0200
commit7405a3f6faccfb856d430cfd08988c8dc35893c5 (patch)
tree6c151130e5ab1f2b73ea74f8395e4d018034e667 /echo.yaml
parent609101a8506c787af00b98b81daae4d432756d15 (diff)
downloadsubplot-7405a3f6faccfb856d430cfd08988c8dc35893c5.tar.gz
Add: sample subplot documents
Diffstat (limited to 'echo.yaml')
-rw-r--r--echo.yaml17
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