A bundle is a collection of tools and plugins.
A bundle will load several plugins and tools at once to reduce boilerplate.
Anyone can make a custom bundle, or use one thats already on CPAN.
This bundle loads:
strict | (unless -no_pragmas or -no_strict) |
---|---|
warnings | (unless -no_pragmas or -no_warnings) |
utf8 | (unless -no_pragmas or -no_utf8) |
Test2::Plugin::SRand | |
Test2::Plugin::UTF8 | (unless -no_pragmas or -no_utf8) |
Test2::Tools::Target | (only if -target is specified) |
Test2::Plugin::ExitSummary | |
Test2::API | (only intercept() & context()) |
Test2::Tools::Event | |
Test2::Tools::Defer | |
Test2::Tools::Basic | |
Test2::Tools::Compare | |
Test2::Tools::Warnings | |
Test2::Tools::ClassicCompare | (only cmp_ok) |
Test2::Tools::Subtest | (buffered) |
Test2::Tools::Class | |
Test2::Tools::Encoding | |
Test2::Tools::Exports | |
Test2::Tools::Ref | |
Test2::Tools::Mock | (only mock & mocked) |
Test2::Tools::Exception |
Here are the differences:
Bare Bones, you get this: