Here's we have a test where the plan is 1..3 but we've run 7 tests.
TAPx-Parser $ prove -v t/sample-tests/too_many
t/sample-tests/too_many...1..3
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 4-7
Failed 4/3 tests, -33.33% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/sample-tests/too_many 4 1024 3 4 4-7
Failed 1/1 test scripts. -4/3 subtests failed.
Files=1, Tests=3, 0 wallclock secs ( 0.01 cusr + 0.01 csys = 0.02 CPU)
Failed 1/1 test programs. -4/3 subtests failed.
The last three tests have passed, but Test::Harness says they've failed. My
TAPx::Parser reports that they've passed and the only real way to know if
there's a problem is to test the $parser->good_plan method. I've added this as
a parse error, but why are the passing tests listed as failing?
Cheers,
Ovid
--
Buy the book -- http://www.oreilly.com/catalog/perlhks/
Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/