Skip Menu |
 

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 4979
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: andy [...] hexten.net
Requestors: stas [...] stason.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.40
Fixed in: (no value)



Subject: wrong test count should result in failure
Download (untitled) / with headers
text/plain 531b
If there are more tests than planned, or for some reason planning happens more than once from the same file, T-H should fail and not print 'All tests successful', since something is wrong. e.g. with T-H 2.40 if I get into a loop in the same .t file I get: Test header seen more than once! ok 1 Test output counter mismatch [test 5] ok 2 Test output counter mismatch [test 6] ok 3 Test output counter mismatch [test 7] ok 4 Test output counter mismatch [test 8] ok All tests successful. My test has a problem, but T-H is happy.
Resolved in 2.99


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.