report-fail.should 250 Bytes
Newer Older
1 2 3 4
./should demo/tests/fail.should
!EXIT_CODE: 1

$ Report failing test
5
r:Summary.*failed:1
6 7

$ Report failing test
8
r:Summary.*TODO-but-ok:1
9 10 11 12 13 14 15 16


./should demo/cal.should
!EXIT_CODE: 0

$ With --fail-a, fails
./should --fail-a demo/cal.should
!EXIT_CODE: 1