• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

examples/H03-Jan-2016-2215

lib/Test/H03-Jan-2016-2,128727

t/H03-Jan-2016-3,5772,446

Build.PLH A D03-Jan-20162.1 KiB7245

ChangesH A D03-Jan-20162 KiB7252

MANIFESTH A D03-Jan-2016850 4342

META.jsonH A D03-Jan-20161.7 KiB7069

META.ymlH A D03-Jan-20161.1 KiB4544

Makefile.PLH A D03-Jan-2016778 2422

READMEH A D03-Jan-20161.6 KiB6142

README

1DESCRIPTION
2
3This is Test::Group, a companion module to Test::Builder.  It allows
4to lump tests and fixture into groups that make sense together.  For
5example:
6
7    use Test::More tests => 1;
8    use Test::Group;
9
10    test "hammering the server" => sub {
11        ok(I_can_connect);
12        for(1..1000) {
13           ok(I_can_make_a_request);
14        }
15    };
16
17produces
18
19 1..1
20 ok 1 - hammering the server
21
22Diagnostics of failed subtests are shown, but successful subtests are
23muted. This makes the test output very legible even to the naked eye.
24
25Test::Group has no dependencies besides what is provided in stock Perl
265.8.8. It also works under Perl 5.6.1 and 5.8.x (with dependencies).
27
28Test::Group has been in use in my shop under a different name for
29years, and has provided significant productivity improvements over
30plain Test::More in test-driven development.
31
32Note that you may want to investigate another CPAN module, Test::Class
33by Adrian Howard, which is older and offers a similar feature.  But
34being a full-fledged test framework it is also a little bit more
35cumbersome to use if all you want to do is to group tests.
36
37INSTALLATION
38
39To install this module, run the following commands:
40
41    perl Makefile.PL
42    make
43    make test
44    make install
45
46Or alternatively if you have Module::Build installed,
47
48    perl Build.PL
49    ./Build
50    ./Build test
51    ./Build install
52
53
54COPYRIGHT AND LICENCE
55
56Copyright (C) 2006 IDEALX and Dominique Quatravaux <domq@cpan.org>
57Copyright (C) 2009 Nick Cleaton <ncleaton@cpan.org>
58
59This program is free software; you can redistribute it and/or modify it
60under the same terms as Perl itself.
61