Ovid wrote:
> 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
middle of more tests than were run?
Yep, too many tests is a major error, not of those test, but of the plan.
You promised to run X tests, you didn't. FAIL. Over or under, it doesn't
matter. That's why the plan is there.
Adam K
On 9/14/06, Ovid <[EMAIL PROTECTED]> wrote:
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 102
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
F