Train Dispatcher Aptitude Test
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 (105): Test::Smoke::Patcher Download |
Test::Stochastic is a Perl module to check probabilities of randomized methods. SYNOPSIS use Test::Stochastic qw(stochastic_ok); stochastic_ok sub { ...random sub...}, {a => 0.4, b => 0.6}; stochastic_ok {a => 0.4, b => 0.6}, sub { ...random sub...}; Test::Stochastic::setup(times => 100,...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (99): Test::Stochastic Download |
Acme::Test::Weather is a Perl module to test the weather conditions for a user. SYNOPSIS use Test::Weather; plan tests => 2; # You may only install something # when its nice outside. &isnt_snowing(); &isnt_cloudy(); # output: 1..2 ok 1 - its partly cloudy in Montreal, Canada not...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (100): Acme::Test::Weather Download |
Test::Exception is a Perl module to test exception based code. SYNOPSIS use Test::More tests => 5; use Test::Exception; # or if you dont need Test::More use Test::Exception tests => 5; # then... # Check that something died dies_ok { $foo->method1 } expecting to die; # Check that...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (92): Test::Exception 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 (87): 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 Environment Toolkit in short TET, is a multi-platform uniform test scaffold, into which non-distributed and distributed test suites can be incorporated. TET supports tests written in C, C++, Perl, Tcl, Shell (sh, bash, and POSIX shell), Python, Ruby, and Korn Shell. Installation:...
Platforms: *nix
License: Freeware | Size: 952.32 KB | Download (106): Test Environment Toolkit Download |
Test::Version is a Perl module that has the role to check for VERSION information in modules. SYNOPSIS use Test::Version; plan tests => $num_tests; version_ok( $file ); FUNCTIONS version_ok( FILENAME, [EXPECTED, [NAME] ] ) version_ok requires a filename and returns one of the three...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (89): Test::Version Download |
Test::Extreme is a perlish unit testing framework. SYNOPSIS # In ModuleOne.pm combine unit tests with code package ModuleOne; use Test::Extreme; sub foo { return 23 }; sub test_foo { assert_equals foo, 23 } # at the end of the module run_tests ModuleOne if $0 =~ /ModuleOne.pm$/; #...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (92): Test::Extreme Download |
Test::use::ok is an alternative to Test::More::use_ok. SYNOPSIS use ok( Some::Module ); According to the Test::More documentation, it is recommended to run use_ok() inside a BEGIN block, so functions are exported at compile-time and prototypes are properly honored. That is, instead of...
Platforms: *nix
License: Freeware | Size: 13.31 KB | Download (88): Test::use::ok Download |
XML::Filter::Dispatcher::Compiler can compile rulesets in to code. SYNOPSIS use XML::Filter::Dispatcher::Compiler qw( xinline ); my $c = XML::Filter::Dispatcher::Compiler->new( ... ) my $code = $c->compile( Package => "My::Filter", Rules => [ a/b/c => xinline q{warn "found a/b/c"}, ],...
Platforms: *nix
License: Freeware | Size: 88.06 KB | Download (97): XML::Filter::Dispatcher::Compiler Download |
Test::Differences Perl module contains test strings and data structures and show differences if not ok. SYNOPSIS use Test; ## Or use Test::More use Test::Differences; eq_or_diff $got, "anbncn", "testing strings"; eq_or_diff @got, [qw( a b c )], "testing arrays"; ## Passing options:...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (91): Test::Differences Download |
XML::Filter::Dispatcher::AsStructHandler Perl module can help you convert SAX stream in to simple, data-oriented structure. SYNOPSIS ## Ordinarily used via the XML::Filter::Dispatchers as_data_struct() ## built-in extension function for XPath This SAX2 handler builds a simple hash from...
Platforms: *nix
License: Freeware | Size: 88.06 KB | Download (95): XML::Filter::Dispatcher::AsStructHandler Download |
XML::Filter::Dispatcher is a path based event dispatching with DOM support. SYNOPSIS use XML::Filter::Dispatcher qw( :all ); my $f = XML::Filter::Dispatcher->new( Rules => [ foo => &handle_foo_start_tag, @bar => &handle_bar_attr, ## Send any elts and their contents to $handler...
Platforms: *nix
License: Freeware | Size: 88.06 KB | Download (87): XML::Filter::Dispatcher 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 (94): Test::TempDatabase Download |
Test::URI is a Perl module that can check Uniform Resource Identifiers (URIs). SYNOPSIS use Test::More tests => 5; use Test::URI; # http://www.example.com:8080/index.html#name uri_scheme_ok( $uri, http ); uri_host_ok( $uri, www.example.com ); uri_port_ok( $uri, 8080 ); uri_path_ok(...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (94): Test::URI Download |
Test::Manifest is a Perl module created to interact with a t/test_manifest file. SYNOPSIS # in Makefile.PL eval "use Test::Manifest"; # in the file t/test_manifest, list the tests you want # to run Test::Harness assumes that you want to run all of the .t files in the t/ directory in...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (100): Test::Manifest Download |
Test::ISBN is a Perl module to check international standard book numbers. SYNOPSIS use Test::More tests => 1; use Test::ISBN; isbn_ok( $isbn ); Functions isbn_ok( STRING ) Ok is the STRING is a valid ISBN, in any format that Business::ISBN accepts. This function only checks the...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (121): Test::ISBN Download |
Test::Data is a Perl module to test functions for particular variable types. SYNOPSIS use Test::Data qw(Scalar Array Hash Function); Test::Data provides utility functions to check properties and values of data and variables. Functions Plug-in modules define functions for each data type....
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (96): Test::Data Download |
Test::WWW::Accessibility is a Perl module to test web pages for accessibility..
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (92): Test::WWW::Accessibility Download |