Test My Modem Speed
Test::Smoke::Patcher is a OO interface to help patching the source-tree. SYNOPSIS use Test::Smoke::Patcher; my $patcher = Test::Smoke::Patcher->new( single => { ddir => $build_dir, pfile => $patch, popts => -p1, v => 1, # 0..2 }); $patcher->patch; or my $patcher =...
Platforms: *nix
License: Freeware | Size: 153.6 KB | Download (110): Test::Smoke::Patcher Download |
Test::Resub is a lexically scoped subroutine replacement for testing. SYNOPSIS #!/usr/bin/perl use Test::More tests => 4; use Test::Resub qw(resub); { package Somewhere; sub show { my ($class, $message) = @_; return "$class, $message"; } } # sanity is( Somewhere->show(beyond the...
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (93): Test::Resub Download |
Test::Unit::Runner::XML is a Perl module that can generate XML reports from unit test results. SYNOPSIS use Test::Unit::Runner::XML; mkdir("test_reports"); my $runner = Test::Unit::Runner::XML->new("test-reports"); $runner->start($test); exit(!$runner->all_tests_passed());...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (111): Test::Unit::Runner::XML Download |
Test::TempDatabase is a Perl module for temporary database creation and destruction. SYNOPSIS use Test::TempDatabase; my $td = Test::TempDatabase->create(dbname => temp_db); my $dbh = $td->handle; ... some tests ... # Test::TempDatabase drops database This module automates creation...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (100): Test::TempDatabase Download |
Test::Chunks is a Data Driven Testing Framework. NOTE - This module has been deprecated and replaced by Test::Base. This is basically just a renaming of the module. Test::Chunks was not the best name for this module. Please discontinue using Test::Chunks and switch to Test::Base. Helpful Hint:...
Platforms: *nix
License: Freeware | Size: 32.77 KB | Download (92): Test::Chunks Download |
Test::Unit::TestSuite is a unit testing framework base class. SYNOPSIS use Test::Unit::TestSuite; # more code here ... sub suite { my $class = shift; # create an empty suite my $suite = Test::Unit::TestSuite->empty_new("A Test Suite"); # get and add an existing suite...
Platforms: *nix
License: Freeware | Size: 45.06 KB | Download (152): Test::Unit::TestSuite Download |
Test::Unit::TestRunner is a unit testing framework helper class. SYNOPSIS use Test::Unit::TestRunner; my $testrunner = Test::Unit::TestRunner->new(); $testrunner->start($my_testcase_class); This class is the test runner for the command line style use of the testing framework. It is...
Platforms: *nix
License: Freeware | Size: 45.06 KB | Download (93): Test::Unit::TestRunner Download |
Test::Unit::TestCase is a unit testing framework base class. SYNOPSIS package FooBar; use base qw(Test::Unit::TestCase); sub new { my $self = shift()->SUPER::new(@_); # your state for fixture here return $self; } sub set_up { # provide fixture } sub tear_down { # clean up after...
Platforms: *nix
License: Freeware | Size: 45.06 KB | Download (94): Test::Unit::TestCase Download |
Test::Unit::Runner::Terminal is a unit testing framework helper class. SYNOPSIS use Test::Unit::Runner::Terminal; my $testrunner = Test::Unit::Runner::Terminal->new(); $testrunner->start($my_test_class); This class is a test runner for the command line style use of the testing framework....
Platforms: *nix
License: Freeware | Size: 75.78 KB | Download (100): Test::Unit::Runner::Terminal Download |
PSA::Test::Builder is a backend for building test libraries. SYNOPSIS package My::Test::Module; use PSA::Test::Builder; require Exporter; @ISA = qw(Exporter); @EXPORT = qw(ok); my $Test = Test::Builder->new; $Test->output(my_logfile); sub import { my($self) = shift; my $pack =...
Platforms: *nix
License: Freeware | Size: 112.64 KB | Download (156): PSA::Test::Builder Download |
Test::AutoBuild::Runtime is a Perl module with builder runtime state. SYNOPSIS use Test::AutoBuild::Runtime; my $runtime = new Test::AutoBuild::Runtime (archive_manager => $archive_manager, monitors => %monitors, repositories => %repositories, modules => %modules, package_types =>...
Platforms: *nix
License: Freeware | Size: 204.8 KB | Download (122): Test::AutoBuild::Runtime Download |
Test::Tester::CaptureRunner is a Perl module that provides help testing test modules built with Test::Builder. SYNOPSIS use Test::Tester tests => 6; use Test::MyStyle; check_test( sub { is_mystyle_eq("this", "that", "not eq"); }, { ok => 0, # expect this to fail name => "not eq",...
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (99): Test::Tester::CaptureRunner Download |
Test::XML::XPath is a Perl module to test XPath assertions. SYNOPSIS use Test::XML::XPath tests => 3; like_xpath( , /foo ); # PASS like_xpath( , /bar ); # FAIL unlike_xpath( , /bar ); # PASS is_xpath( bar , /foo, bar ); # PASS is_xpath( bar , /bar, foo ); # FAIL # More...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (89): Test::XML::XPath Download |
Test::File::Find::Rule is a Perl module to test files and directories with File::Find::Rule. SYNOPSIS use Test::File::Find::Rule; # Check that all files in $dir have sensible names my $rule = File::Find::Rule ->file ->relative ->not_name(qr/^[w]{1,8}.[a-z]{3,4}$/);...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (104): Test::File::Find::Rule Download |
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
License: Freeware | Size: 14.34 KB | Download (106): Test::MockClass Download |
Test::WWW::Simple is a Perl module to test Web applications using TAP. SYNOPSIS use Test::WWW::Simple; # This is the default user agent. user_agent(Windows IE 6); page_like("http://yahoo.com", qr/.../, "check for expected text"); page_unlike("http://my.yahoo.com", qr/.../, "check for...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (92): Test::WWW::Simple Download |
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
License: Freeware | Size: 16.38 KB | Download (94): Test::Usage Download |
Test::WWW::Selenium is a Perl module to test applications using Selenium Remote Control. SYNOPSIS Test::WWW::Selenium is a subclass of WWW::Selenium that provides convenient testing functions. use Test::More tests => 5; use Test::WWW::Selenium; # Parameters are passed through to...
Platforms: *nix
License: Freeware | Size: 39.94 KB | Download (93): Test::WWW::Selenium Download |
Test::Glade is a simple way to test Gtk2::GladeXML-based apps. SYNOPSIS use Test::Glade tests => 2; my $glade_xml = interface.glade; has_widget( $glade_xml, { name => main_window, type => GtkWindow, properties => { title => Test Application, type => GTK_WINDOW_TOPLEVEL, resizable =>...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (90): Test::Glade Download |
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
License: Freeware | Size: 4.1 KB | Download (86): Test::TestCoverage Download |