FAILED
Test file Test results Time %
tap/01-success
  • 1..3
  • ok 1 - works
  • ok 2 - 2+2 is 4, who would guess ?
  • ok 3 - this works again
0.03s 100.0%
tap/02-failure
  • 1..4
  • ok 1 - works
  • not ok 2 - this fails
  • # Failed test 'this fails'
  • # at tap/02-failure.t line 8.
  • not ok 3 - 2+2 should be 4
  • # Failed test '2+2 should be 4'
  • # at tap/02-failure.t line 9.
  • # got: '4'
  • # expected: '5'
  • ok 4 - this works again
  • # Looks like you failed 2 tests of 4.
  • exit status: 2, wait status: 512
0.03s 50.0%
tap/03-exception
  • Parse error: Bad plan. You planned 5 tests but ran 3.
  • 1..5
  • # planning 5 but running only 3 - with exception
  • ok 1 - works
  • ok 2 - 2+2 is 4, who would guess ?
  • ok 3 - this works again
  • a real exception at tap/03-exception.t line 11.
  • # Looks like you planned 5 tests but ran 3.
  • # Looks like your test exited with 255 just after 3.
  • exit status: 255, wait status: 65280
0.03s 60.0%
tap/04-missing_tests
  • Parse error: Bad plan. You planned 5 tests but ran 3.
  • 1..5
  • # planning 5 but running only 3
  • ok 1 - works
  • ok 2 - 2+2 is 4, who would guess ?
  • ok 3 - this works again
  • # Looks like you planned 5 tests but ran 3.
  • exit status: 255, wait status: 65280
0.05s 60.0%
tap/05-skip
  • 1..5
  • ok 1 - works
  • ok 2 - 2+2 is 4, who would guess ?
  • ok 3 # skip
  • ok 4 # skip
  • ok 5 - can work
0.03s 100.0%
tap/06-todo
  • 1..5
  • ok 1 - works
  • ok 2 - 2+2 is 4, who would guess ?
  • not ok 3 - support imginary numbers # TODO to show how TODO gets reported
  • # Failed (TODO) test 'support imginary numbers'
  • # at tap/06-todo.t line 13.
  • # got: 'nan'
  • # expected: 'i'
  • not ok 4 - some other thing # TODO to show how TODO gets reported
  • # Failed (TODO) test 'some other thing'
  • # at tap/06-todo.t line 14.
  • ok 5 - can work
0.03s 100.0%
tap/07-todo_success
  • 1..5
  • ok 1 - works
  • ok 2 - 2+2 is 4, who would guess ?
  • not ok 3 - support imginary numbers # TODO to show how TODO gets reported
  • # Failed (TODO) test 'support imginary numbers'
  • # at tap/07-todo_success.t line 13.
  • # got: 'nan'
  • # expected: 'i'
  • ok 4 - some other thing now works # TODO to show how TODO gets reported (unexpectedly succeeded!)
  • ok 5 - can work
0.04s 100.0%
7 files 28 tests, 26 ok, 2 failed, 4 todo, 2 skipped, 2 parse errors
exit status: 512, wait status: 131072
elapsed time: 0 wallclock secs ( 0.04 usr 0.01 sys + 0.20 cusr 0.04 csys = 0.29 CPU)
0.24s 96.4%