-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear perl-qa members,
I am pleased to announce the first public release of Test::Group, a
handy module for grouping batches of tests together. I use it to store
the whole test suite of my modules in an __END__ block, à la
perlmodlib, while keeping the test suite manageable. No doubt you will
find other uses!
The tarball should hit a nearby CPAN mirror shortly. With regards, Dom
- -----
The uploaded file
Test-Group-0.02.tar.gz
has entered CPAN as
file: $CPAN/authors/id/D/DO/DOMQ/Test-Group-0.02.tar.gz
size: 24868 bytes
md5: fc960e3e74dc9c795bdb4722ed66a168
- From the README:
DESCRIPTION
This is Test::Group version 0.02, a companion module to Test::Builder.
It allows to lump tests and fixture into groups that make sense
together. For example:
use Test::More tests => 1;
use Test::Group;
test "hammering the server" => sub {
ok(I_can_connect);
for(1..1000) {
ok(I_can_make_a_request);
}
};
produces
1..1
ok 1 - hammering the server
Diagnostics of failed subtests are shown, but successful subtests are
muted. This makes the test output very legible even to the naked eye.
Test::Group has no dependencies besides what is provided in stock Perl
5.8.8. It also works under Perl 5.6.1 and 5.8.x (with dependencies).
Test::Group has been in use in my shop under a different name for
years, and has provided significant productivity improvements over
plain Test::More in test-driven development.
Note that you may want to investigate another CPAN module, Test::Class
by Adrian Howard, which is older and offers a similar feature. But
being a full-fledged test framework it is also a little bit more
cumbersome to use if all you want to do is to group tests.
- --
Dominique QUATRAVAUX Ingénieur senior
01 44 42 00 08 IDEALX
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEW0r4MJAKAU3mjcsRAor2AKCrTQr95RFYf3jqgDbhr06NdK5a5gCgoMYS
Bgyqo+uydbw2CoCKdB4NaFI=
=R2oO
-----END PGP SIGNATURE-----