Skip to content

Instantly share code, notes, and snippets.

@ilmari
Created September 11, 2015 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilmari/b6c28f43569f5d6d8a98 to your computer and use it in GitHub Desktop.
Save ilmari/b6c28f43569f5d6d8a98 to your computer and use it in GitHub Desktop.
t/tester.t verbose failure
$ prove -e perl6 -lrv t/tester.t
t/tester.t ..
1..2
t/win.t .. ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.14 cusr 0.02 csys = 0.18 CPU)
Result: PASS
ok 1 - what should pass, passes
# Failed test at t/fail.t line 3
# Looks like you failed 1 test of 1
t/fail.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
t/fail.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: ok 2 - what should fail, fails
Failed 1/2 subtests
Test Summary Report
-------------------
t/tester.t (Wstat: 0 Tests: 1 Failed: 0)
Parse errors: Bad plan. You planned 2 tests but ran 1.
Files=1, Tests=1, 1 wallclock secs ( 0.02 usr 0.00 sys + 1.60 cusr 0.12 csys = 1.74 CPU)
Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment