I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2011-06-17 10:54:44.679547-07 by gnhill in response to 13354
Re: No plan before startup tests?
Ok, I figured it out. It doesn't output the plan if the startup portion bails out and there weren't any startup tests (but there were other tests specified): Example code:
use strict; use warnings; { package Test::Foo; use parent qw( Test::Class ); use Test::More; sub setup : Test(startup) { BAIL_OUT("startup"); } sub test :Test(99) { pass(); } } Test::Foo->runtests();
Output:
Bail out! startup
(notice the lack of a plan, despite my having specified 99 tests total)
Direct Responses: 13356 | 13364 | Write a response