Lines Matching full:more

1 package Test::More;
41 Test::More - yet another framework for writing test scripts
45 use Test::More tests => 23;
47 use Test::More skip_all => $reason;
49 use Test::More; # see done_testing()
92 my @status = Test::More::status;
116 The preferred way to do this is to declare a plan when you C<use Test::More>.
118 use Test::More tests => 23;
124 use Test::More;
138 use Test::More skip_all => $skip_reason;
144 If you want to control what functions Test::More will export, you
148 use Test::More tests => 23, import => ['!fail'];
153 use Test::More;
158 use Test::More;
169 my $tb = Test::More->builder;
174 # This implements "use Test::More 'no_diag'" but the behavior is
248 my $tb = Test::More->builder;
321 my $tb = Test::More->builder;
387 are cases when you cannot say much more about a value than that it is
408 my $tb = Test::More->builder;
414 my $tb = Test::More->builder;
434 "Test::More::isn't() to use Test::More::isnt() as a replacement";
470 my $tb = Test::More->builder;
485 my $tb = Test::More->builder;
531 my $tb = Test::More->builder;
568 my $tb = Test::More->builder;
626 you'd like them to be more specific, you can supply an $object_name
633 my $tb = Test::More->builder;
733 my $tb = Test::More->builder;
765 use Test::More tests => 3;
805 ok 1, '... and support more than one test';
811 ok 1, '... and support more than one test';
830 my $tb = Test::More->builder;
852 my $tb = Test::More->builder;
858 my $tb = Test::More->builder;
871 work before going on to do more complicated testing.
906 my $tb = Test::More->builder;
1001 my $tb = Test::More->builder;
1074 instances Test::More provides a handful of useful functions.
1097 L<Test::Differences> and L<Test::Deep> provide more in-depth functionality
1125 my $tb = Test::More->builder;
1292 return Test::More->builder->diag(@_);
1296 return Test::More->builder->note(@_);
1318 return Test::More->builder->explain(@_);
1333 For more details on the mechanics of skip and todo tests see
1336 The way Test::More handles this is with a named block. Basically, a
1367 code I<won't be run at all>. Test::More will output special ok's
1375 the label C<SKIP>, or Test::More can't work its magic.
1386 my $tb = Test::More->builder;
1434 With a todo block, the tests inside are expected to fail. Test::More
1449 Note that, if you leave $TODO unset or undef, Test::More reports failures
1481 my $tb = Test::More->builder;
1536 my $tb = Test::More->builder;
1624 my $tb = Test::More->builder;
1805 =head2 Extending and Embedding Test::More
1807 Sometimes the Test::More interface isn't quite enough. Fortunately,
1808 Test::More is built on top of L<Test::Builder> which provides a single,
1820 my $test_builder = Test::More->builder;
1822 Returns the L<Test::Builder> object underlying Test::More for you to play
1833 you run less (or more) tests than you planned, the missing (or extras)
1845 If you fail more than 254 tests, it will be reported as 254.
1852 Test::More works with Perls as old as 5.8.1.
1857 Although Test::More has been a core module in versions of Perl since 5.6.2, Test::More has evolved since then, and not all of the features you're used to will be present in the shipped version of Test::More. If you are writing a module, don't forget to indicate in your package metadata the minimum version of Test::More that you require. For instance, if you want to use C<done_testing()> but want your test script to run on Perl 5.10.0, you will need to explicitly require Test::More > 0.88.
1865 Subtests were released in Test::More 0.94, which came with Perl 5.12.0. Subtests did not implicitly call C<done_testing()> until 0.96; the first Perl with that fix was Perl 5.14.0 with 0.98.
1869 This was released in Test::More 0.88 and first shipped with Perl in 5.10.1 as part of Test::More 0.92.
1873 Although C<cmp_ok()> was introduced in 0.40, 0.86 fixed an important bug to make it safe for overloaded objects; the fixed first shipped with Perl in 5.10.1 as part of Test::More 0.92.
1877 These were was released in Test::More 0.82, and first shipped with Perl in 5.10.1 as part of Test::More 0.92.
1881 There is a full version history in the Changes file, and the Test::More versions included as core can be found using L<Module::CoreList>:
1883 $ corelist -a Test::More
1892 If you use utf8 or other non-ASCII characters with Test::More you
1896 Test::More) duplicates STDOUT and STDERR. So any changes to them,
1898 Test::More.
1901 as possible and before Test::More (or any other Test module) loads.
1904 use Test::More;
1906 A more direct work around is to change the filehandles used by
1909 my $builder = Test::More->builder;
1919 prevents Test::More from piercing an object's interface allowing
1926 suggest L<Test::Deep> which contains more flexible testing functions for
1932 Test::More will only be aware of threads if C<use threads> has been done
1933 I<before> Test::More is loaded. This is ok:
1936 use Test::More;
1940 use Test::More
1958 providing more flexibility than the existing Test.pm. As such, the
1972 some tests. You can upgrade to Test::More later (it's forward
1981 L<Test::Differences> for more ways to test complex data structures.
1982 And it plays well with Test::More.
1984 L<Test::Class> is like xUnit but more perlish.
1986 L<Test::Deep> gives you more powerful complex data structure testing.
2023 See L<https://github.com/Test-More/test-more/issues> to report and view bugs.
2028 The source code repository for Test::More can be found at
2029 L<https://github.com/Test-More/test-more/>.