summaryrefslogtreecommitdiff
path: root/echo.md
diff options
context:
space:
mode:
Diffstat (limited to 'echo.md')
-rw-r--r--echo.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/echo.md b/echo.md
new file mode 100644
index 0000000..f9bd88d
--- /dev/null
+++ b/echo.md
@@ -0,0 +1,25 @@
+---
+title: "**echo**(1) acceptance tests"
+author: Lars Wirzenius / The Fable project
+...
+
+Introduction
+=============================================================================
+
+**echo**(1) is a Unix command line tool, which writes its command line
+arguments to the standard output. This is a simple acceptance test
+suite for the `/bin/echo` implementation.
+
+No arguments
+=============================================================================
+
+This scenario runs `/bin/echo` without arguments and checks that it
+outputs a single newline character to the standard output, nothing to
+the standard error, and exits with a zero exit code.
+
+```fable
+when user runs echo without arguments
+then exit code is 0
+and standard output contains a newline
+and standard error is empty
+```