test should be

is 1, 1, 'test 1';
say "ok 1 - pestering 1";
say "not ok 5 - pestering 2";


resulting in


ok 1 - test 1
ok 1 - pestering 1
not ok 5 - pestering 2
1..1
Failed -1/1 subtests

Test Summary Report
-------------------
confuse-TAP.t (Wstat: 0 Tests: 3 Failed: 1)
  Failed test:  5
  Parse errors: Tests out of sequence.  Found (1) but expected (2)
                Tests out of sequence.  Found (5) but expected (3)
                Bad plan.  You planned 1 tests but ran 3.
Files=1, Tests=3, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.16 cusr 0.01 csys = 0.19 CPU)
Result: FAIL



but problem on how to cope with mixed lines with real test output remains

regards,
Marcel

Reply via email to