Personal tools
Skip to content. | Skip to navigation
Test::SharedFork is utility module for Test::Builder. It manages testing by keeping the test count consistent between parent and child processes.
This package provides the bulk of the core testing facilities. For more information, see perldoc for Test::Simple, Test::More, etc. This package is the CPAN component of the dual-lifed core package Test-Simple.
"Test::Spelling" lets you check the spelling of a POD file, and report its results in standard "Test::Simple" fashion. This module requires the hunspell program.
"Test::Strict" lets you check the syntax, presence of "use strict;" and "use warnings;" in your perl code. It reports its results in standard "Test::Simple" fashion.
Test::Synopsis is an (author) test module to find .pm or .pod files under your lib directory and then make sure the example snippet code in your SYNOPSIS section passes the perl compile check. Note that this module only checks the perl syntax (by wrapping the code with sub) and doesn't actually run the code.
Test::TCP is test utilities for TCP/IP program.
Tainted data is data that comes from an unsafe source, such as the command line, or, in the case of web apps, any GET or POST transactions. Read the perlsec man page for details on why tainted data is bad, and how to untaint the data. When you're writing unit tests for code that deals with tainted data, you'll want to have a way to provide tainted data for your routines to handle, and easy ways to check and report on the taintedness of your data, in standard Test::More style.
If you have written a test module based on Test::Builder then Test::Tester allows you to test it with the minimum of effort.
Primarily (but not exclusively) for use in test scripts: A block eval on steroids, configurable and extensible, but by default trapping (Perl) STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values from boxed blocks of test code.