Bundle::Test is a set of modules for software and hardware testing using Perl. SYNOPSIS A bundle does not have code in it. It is only a list of related modules. It exists only to make it easier to install these modules with one command: perl -MCPAN -e install Bundle::Test This bundle,...
Platforms: *nix

Test::Unit::GTestRunner is a Unit testing framework helper class SYNOPSIS use Test::Unit::GTestRunner; Test::Unit::GTestRunner->new->start ($my_testcase_class); Test::Unit::GTestRunner::main ($my_testcase_class); If you just want to run a unit test (suite), try it like this:...
Platforms: *nix

Test::MockClass is a Perl module to provide mock classes and mock objects for testing. SYNOPSIS # Pass in the class name and version that you want to mock use Test::MockClass qw{ClassToMock 1.1}; # create a MockClass object to handle a specific class my $mockClass =...
Platforms: *nix

Test::YAML::Valid is a Perl module is a test for valid YAML. SYNOPSIS This module lets you easily test the validity of YAML: use Test::More tests => 3; use Test::YAML::Valid; yaml_string_ok(YAML::Dump({foo => bar}), YAML generates good YAML?); yaml_string_ok(this is not YAML, is it?,...
Platforms: *nix

Test::Usage is a different approach to testing: selective, quieter, colorful. SYNOPSIS Lets say we are building module Foo.pm. To exercise it, we write a usage examples module, Foo_T.pm, which may eventually look something like this: package Foo_T; use Test::Usage; use strict; use...
Platforms: *nix

Test::TestCoverage is Perl module to test if your test covers all public subroutines of the package. SYNOPSIS use Test::TestCoverage; test_coverage(My::Module); my $obj = My::Module->new(); $obj->foo(); $obj->bar(); # test will be ok, assumed that My::Module has the subroutines new,...
Platforms: *nix

Test::STDmaker::Demo is a Perl module that generates demo scripts from a test description short hand. The Test::STDmaker::Demo package is an internal driver package to the Test::STDmaker package that supports the Test::STDmaker::tmake() method. Any changes to the internal drive interface and...
Platforms: *nix