Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 2597
Status: resolved
Priority: 0/
Queue: Test-Simple

People
Owner: Nobody in particular
Requestors: mark [...] summersault.com
pardus [...] cpan.org
Cc:
AdminCc:

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



Subject: check for positive integers in plan number
Hello, I just got this out from Test::More: ### Looks like you planned no_plan tests but ran 2 extra. ### Huh? How I could run extra tests if I didn't have a plan in the first place? I had a silly typo, that's how: tests => qw/no_plan/. I'd like to request that Test::More reality-check that the number of tests is positive integer. Thanks! Mark
Subject: t/some_test....1..ARRAY(0x8143420)
By accident I wrote import Test::More tests => @test_data ; instead of import Test::More tests => scalar @test_data ; I noticed that in the first case Test::More enters an infinite loop at the end of the test script, I would expect it to throw an error if tests !~ /^\d+$/