Bundle?

What is a bundle?


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.

V0

Test2::V0

This is the bundle I use and recommend.

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

More

Test2::Bundle::More

This bundle aims to be *almost* a drop-in replacement for Test::More.

Here are the differences:

Simple

Test2::Bundle::Simple


Bare Bones, you get this: