Test-Stream
view release on metacpan or search on metacpan
lib/Test/Stream/Bundle/V1.pm view on Meta::CPAN
package Test::Stream::Bundle::V1;
use strict;
use warnings;
use Test::Stream::Bundle qw/import/;
sub plugins {
return (
sub { strict->import(); warnings->import() },
qw{
IPC
TAP
ExitSummary
Core
Context
Exception
Warnings
Compare
Mock
UTF8
},
);
}
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Test::Stream::Bundle::V1 - Preferred bundle used by Test::Stream author.
=head1 DEPRECATED
B<This distribution is deprecated> in favor of L<Test2>, L<Test2::Suite>, and
L<Test2::Workflow>.
See L<Test::Stream::Manual::ToTest2> for a conversion guide.
=head1 DESCRIPTION
This bundle is the one used most in Test::Stream's own test suite. This bundle
ties together the most commonly used tools.
=head1 SYNOPSIS
B<Note:> On ly the most critical functions are listed here. Please see
individual plugins for their functions.
use Test::Stream '-V1';
ok(1, "This is a pass");
ok(0, "This is a fail");
is("x", "x", "These strings are the same");
is($A, $B, "These 2 structures match exactly");
like('x', qr/x/, "This string matches this pattern");
like($A, $B, "These structures match where it counts");
done_testing;
=head1 INCLUDED TOOLS
=over 4
( run in 1.531 second using v1.01-cache-2.11-cpan-39bf76dae61 )