The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bundle::Test - A set of modules for software testing in Perl

SYNOPSIS

perl -MCPAN -e 'install Bundle::Test'

DESCRIPTION

This bundle installs a set of modules you can use to build all kinds of tests for your perl modules and applications.

As a first attempt you should read the documentation of the respective modules. Probably you should start by reading Test::Tutorial which is a good introduction to testing in general and to Test::Simple and Test::More.

Test::Simple - can be used as a first attempt to write simple test for your perl module. Don't worry, the work you invest here can be transfered when you move using Test::More without loss.

Test::More is an extension of Test::Simple. It provides a number of tools to compare various data structures of Perl.

With Test::Harness you are lucky. In most of the cases you won't need to learn it as it contains a framework to execute the various test scripts created using the other modules. At some point later in your test development you might need this though in order to package all your tests nicely.

Test A simple way to write tests. It is mostly outdated. You should use Test::Simple instead.

Test::MockObject One of the biggest problems in testing is that you have to control your environment. This module lets you do just that.

Test::Pod provide a way to test the syntax of your PODs. This is a BETA software.

CONTENTS

Test

Test::Simple

Test::More

Test::Harness

Test::MockObject

Test::Pod

QUALITY ASSURANCE

You write test in order make your software of higher quality. An important requirement for this is that your testing tools should be of high quality.

REFERENCES

 CPAN Test Results: L<http://testers.cpan.org/>
 QA and kwality for Perl: L<http://qa.perl.org/>
 CPANS L<http://www.pobox.com/~schwern/talks/CPANTS/>
 Article by Chromatic L<http://www.perl.com/pub/a/2001/12/04/testing.html>
 

AUTHOR

Gabor Szabo <gabor@pti.co.il>

COPYRIGHT

Copyright 2002-2003 by Gabor Szabo http://www.pti.co.il.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html