Test::Builder::Plan - manages the plan set for the test harness
Test::Builder::NoPlan - manages the pseudo-plan when one isn't set
The Test::Builder::Plan class manages the plan used by the test harness.
It contains the number of expected tests and formats the headers and footers
used in reporting test results.
Conversely, the Test::Builder::NoPlan class is used when a plan is not
B<NOTE:> The Test::Builder::Plan Test::Builder::NoPlan classes should not
be used directly. There are only meant to be used internally.
(head2) Public Attributes
The expected number of tests to run.
(head2) Object Initialization
Returns a new Test::Builder::Plan or Test::Builder::NoPlan instance.
(head2) Public Methods
Returns a string to be used as the header; displayed before any test results.
Returns a string to be used as the footer; displayed after all tests have been
Test::Builder was largely inspired by chromatic's work on the old
Test::Builder module for Pugs.
Additionally, Test::Builder is based on the Perl 5 module of the same name
also written by chromatic <email@example.com> and Michael G. Schwern
Copyright (C) 2011, Kevin Polulak <firstname.lastname@example.org>.
This program is distributed under the terms of the Artistic License 2.0.
For further information, please see LICENSE or visit