|
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) |