Test - provides a simple framework for writing test scripts
use strict; use Test; BEGIN { todo tests => 15, failok => [3,7] } my $result = "looks good"; ok($result =~ m/good/) or warn $result;
Test::Harness expects to see particular output when it executes test scripts. This module tries to make conforming just a little bit easier (and less error prone).
Tests listed in failok will never fail. They will either succeed or be skipped.
Copyright © 1998 Joshua Nathaniel Pritikin. All rights reserved.
This package is free software and is provided "as is" without express or implied warranty. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html)
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '©'. Assuming CP1252
To install Test, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test
CPAN shell
perl -MCPAN -e shell install Test
For more information on module installation, please visit the detailed CPAN module installation guide.