Test::Builder2::Event::SetPlan - Set the plan for the current stream
This is an Event indicating that the test plan for the current stream has been set.
It must come between a stream start and an stream end Event.
stream start
stream end
The total number of asserts expected to be in this stream.
Must be a positive integer or 0.
Defaults to 0.
If true, there is explicitly no plan for this stream. Any positive number of asserts is fine.
Defaults to false.
If true, it indicates that the rest of the asserts in the stream will not be executed. Usually because they would not make sense in the current environment (Unix tests on Windows, for example).
No results should follow in this stream.
The reason the stream has been skipped.
Defaults to empty string.
A hash ref containing any further information about the plan.
Defaults to an empty hash ref.
The event type is set plan.
set plan
Test::Builder2::Event
1;
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.