Commit 77fe01f6 authored by Mathieu Giraud's avatar Mathieu Giraud

demo/out.should: new example, --log / --tap / --xml

Should increase test coverage.
parent 50a9bf23
Pipeline #681 passed with stages
in 8 seconds
......@@ -3,4 +3,4 @@
./should -v --extra You demo/hello.should ; true
$ 'You' is added right after 'echo'
: echo You "hello, world"
: echo You hello, world
# A .should file launches any command it encounters.
# Every line starting with a `#` is a comment.
echo "hello, world"
echo hello, world
# Lines containing a `:` are test lines.
# The `test expression` is what is found at the right of the `:`.
./should --log --tap --xml demo/hello.should
cat demo/hello.log
cat demo/hello.tap
cat should.xml
$ --log output
r1: ^hello, world
$ --tap output
$ --xml output
1:<testsuites failures="0"
1:<testsuite cmd="['echo hello, world']"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment