Acme::Test::Buffy - example Test::Builder testing module
use Test::More tests => 1; use Acme::Test::Buffy; is_buffy($foo, "test foo is Buffy");
The reason for writing this module is to demonstrate how you can write testing modules that work together with Test::Builder. It also shows how to test such modules with Test::Builder::Tester. Look at the source code (which is heavily commented) for further enlightenment.
This module simply exports one testing function that tests if a string is the same as "Buffy" (case sensitive.)
None known. Please report, including documentation bugs to the author. You may use the CPAN RT system. http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Acme-Test-Buffy
Copyright Mark Fowler E<lt>mark@twoshortplanks.comE<gt> 2002-2004 All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module also written to annoy Leon Brocard, who will have to update his YAPC::Europe talk slides to include it a mere ten minutes before his talk.
Test::Builder, Test::Builder::Tester, Test::More.
To install Acme::Test::Buffy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::Test::Buffy
CPAN shell
perl -MCPAN -e shell install Acme::Test::Buffy
For more information on module installation, please visit the detailed CPAN module installation guide.