|<B>remainingB>||You can find out the number of remaining tests in the block by calling the remaining method on the object.|
Returns Test::Builder object used by Test::Block. For example:
See Test::Builder for more information.
A class method that returns the number of blocks that have been created. You can use this to check that the expected number of blocks have run by doing something like:
at the end of your test script.
|<B>all_in_blockB>||Returns true if all tests so far run have been inside the scope of a Test::Block object.|
None known at the time of writing.
If you find any please let me know by e-mail, or report the problem with <http://rt.cpan.org/>.
perl-qa If you are interested in testing using Perl I recommend you visit <http://qa.perl.org/> and join the excellent perl-qa mailing list. See <http://lists.perl.org/showlist.cgi?name=perl-qa> for details on how to subscribe. perlmonks You can find users of Test::Block, including the module author, on <http://www.perlmonks.org/>. Feel free to ask questions on Test::Block there. CPAN::Forum The CPAN Forum is a web forum for discussing Perls CPAN modules. The Test::Block forum can be found at <http://www.cpanforum.com/dist/Test-Block>. AnnoCPAN AnnoCPAN is a web site that allows community annotations of Perl module documentation. The Test::Block annotations can be found at <http://annocpan.org/~ADIE/Test-Block/>.
If you think this module should do something that it doesnt (or does something that it shouldnt) please let me know.
You can see my current to do list at <http://adrianh.tadalist.com/lists/public/15423>, with an RSS feed of changes at <http://adrianh.tadalist.com/lists/feed_public/15423>.
Thanks to chromatic and Michael G Schwern for the excellent Test::Builder, without which this module wouldnt be possible.
Thanks to Michael G Schwern and Tony Bowden for the mails on firstname.lastname@example.org that sparked the idea for this module. Thanks to Fergal Daly for suggesting named blocks. Thanks to Michael G Schwern for suggesting $Plan. Thanks to Nadim Khemir for feedback and Andreas Koenig for spotting bugs.
Adrian Howard <email@example.com>
If you can spare the time, please drop me a line if you find this module useful.
Test::Group A framework for grouping related tests in a test suite Test::Class Test::Class is an xUnit testing framework for Perl. It allows you to group tests into methods with independent test plans. Test::Builder Support module for building test libraries. Test::Simple & Test::More Basic utilities for writing tests. <http://qa.perl.org/test-modules.html> Overview of some of the many testing modules available on CPAN.
Copyright 2003-2006 Adrian Howard, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|perl v5.20.3||TEST::BLOCK (3)||2012-01-24|