Skip Menu |

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

Report information
The Basics
Id: 15193
Status: new
Priority: 0/
Queue: Test-Assertions

People
Owner: Nobody in particular
Requestors: barbie [...] missbarbell.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.051
Fixed in: (no value)



Subject: POD coverage test failing
Just tried to smoke test the latest version of Test-Assertions distribution and got the following failure: t\pod................ok t\pod_coverage.......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 2 Failed 1/1 tests, 0.00% okay t\Test-Assertions....ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t\pod_coverage.t 255 65280 1 1 100.00% 2 Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. # Looks like you planned 1 test but ran 1 extra. Failed 1/3 test scripts, 66.67% okay. -1/60 subtests failed, 101.67% okay. NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0xff' Stop. The reason being that your plan in pod_coverage.t specifically says 'plan tests => 1;', when Test::Pod::Coverage::all_modules() is actually returning 2 modules. You should either increment the tests to 2, or use 'no_plan' if you envisage increasing the modules in the distribution in the future. Interestingly no-one from the cpan-testers spotted this! I guess none have Test::Pod::Coverage installed. Or at least have a version older than 1.00 :)