CONTENTS

NAME

Test2::V0 - 0Th edition of the Test2 recommended bundle.

DESCRIPTION

This is the big-daddy bundle. This bundle includes nearly every tool, and several plugins, that the Test2 author uses. This bundle is used extensively to test Test2::Suite itself.

NAMING, USING, DEPENDING

This bundle should not change in a severely incompatible way. Some minor breaking changes, specially bugfixes, may be allowed. If breaking changes are needed then a new Test2::V# module should be released instead.

As new V# modules are released old ones may be moved to different cpan distributions. You should always use a specific bundle version and list that version in your distributions testing requirements. You should never simply list Test2::Suite as your modules dep, instead list the specific bundle, or tools and plugins you use directly in your metadata.

SYNOPSIS

use Test2::V0;

ok(1, "pass");

...

done_testing;

RESOLVING CONFLICTS WITH MOOSE

use Test2::V0 '!meta';

Moose and Test2::V0 both export very different meta() subs. Adding '!meta' to the import args will prevent the sub from being imported. This bundle also exports the sub under the name meta_check() so you can use that spelling as an alternative.

TAGS

:DEFAULT

The following are both identical:

use Test2::V0;

use Test2::V0 ':DEFAULT';

RENAMING ON IMPORT

use Test2::V0 ':DEFAULT', '!ok', ok => {-as => 'my_ok'};

This bundle uses Test2::Util::Importer for exporting, as such you can use any arguments it accepts.

Explanation:

'!ok'

Do not export ok()