Test::Builder::Event::Plan - The event of a plan
The plan event object.
See Test::Builder::Event which is the base class for this module.
Create a new instance
When the plan is specified as a number of tests, this is set to that number.
This will be set to 'skip_all' or 'no_plan' in some cases.
If there is a directive, this gives details.
Get the test trace info, including where to report errors.
PID in which the event was created.
Builder depth of the event (0 for normal, 1 for subtest, 2 for nested, etc).
True if the event was generated inside a todo.
Builder that created the event, usually $0, but the name of a subtest when inside a subtest.
Package, File, and Line in which the event was built.
Returns the TAP string for the plan (not indented).
Type of event. Usually this is the lowercased name from the end of the package. Test::Builder::Event::Ok = 'ok'.
Returns the indentation that should be used to display the event (' ' x depth).
The source code repository for Test::More can be found at http://github.com/Test-More/test-more/.
Copyright 2014 Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install Test::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Simple
CPAN shell
perl -MCPAN -e shell install Test::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.