Commit 276a8de1 authored by Mathieu Giraud's avatar Mathieu Giraud

demo/: TODO-but-ok tests are reported as failed

Close #20.
parent 9d0ad83d
Pipeline #632 passed with stages
in 12 seconds
......@@ -64,8 +64,5 @@ a: 32
$ The year is 1999, but this is not working now
f: 1999
# A test with 'f' but that nevertheless passes triggers a warning 'TODO-but-ok'
$ The year is 2001, this should not work now... but yes
f: 2001
$ Or are we in 1983 ?
f: 1983
......@@ -2,8 +2,7 @@
./should --only-f demo/cal.should
$ Launch only the two 'f' tests
r:Summary.* TODO:1
r:Summary.* TODO-but-ok:1
r:Summary.* TODO:2
r:Summary.* total:2
./should --only-a demo/cal.should
./should demo/tests/fail.should
$ Report failing test
r:Summary.* failed:1
$ Report failing test
r:Summary.* TODO-but-ok:1
./should --only-f demo/tests/fail.should
$ Launch only one test
r:Summary.* total:1 test
$ Report failing test
r:Summary.* TODO-but-ok:1
echo hello, world
$ A passed test
$ A failed test
$ A passed test marked as todo: it will be reported as failed
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