Test Script Samples
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 |
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 (97): Test::Differences Download |
Repeat A/B - Amarok script is an Amarok script which can repeat a song from point A to point B. Usage: Right click the playlist and select Repeat --> A/B. Now you have your first mark. Hit Repeat --> A/B again and you have the second mark. Repeat A/B starts. Hit Repeat --> A/B a third...
Platforms: *nix
License: Freeware | Size: 40.96 KB | Download (131): Repeat A/B - Amarok script Download |
Jifty::Script::Help is a Perl module to show help. OPTIONS Optionally help can pipe through a pager, to make it easier to read the output if it is too long. For using this feature, please set environment variable PAGER to some pager program. For example: # bash, zsh users export...
Platforms: *nix
License: Freeware | Size: 532.48 KB | Download (102): Jifty::Script::Help Download |
Orca Interactive Forum Script is an interactive Web-based forum script that is based on AJAX technology, In the world of accelerating technologies you dont want archaic forum software. You want something new, fresh, classy, stylish and sexy - just like Orca. Orca introduces a new approach to...
Platforms: *nix
License: Freeware | Size: 665.6 KB | Download (207): Orca Interactive Forum Script 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 |
Firebred iptables Script is a firewall designed if you want to share your internet connection between a lan of computers, all you need is a 2.4.x kernel, bash and iptables..
Platforms: *nix
License: Freeware | Download (113): Firebred iptables Script Download |
Personal Internet Broadcasting Script provides a WWW GUI for the litestream mp3 streaming server. The Personal Internet Broadcasting Script (PIBS) is a PHP/Apache frontend to create dynamic mp3 playlists and broadcast them with litestream. It can be used to manage playlists for a LAN in an...
Platforms: *nix
License: Freeware | Size: 34.82 KB | Download (141): Personal Internet Broadcasting Script 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 (100): 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 (122): 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 (93): Test::WWW::Accessibility 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::Parser is a collection of parsers for different test output file formats. These parse the data into a general purpose data structure that can then be used to create reports, do post-processing analysis, etc. Test-Parser can also export tests in SpikeSources TRPI test description XML...
Platforms: *nix
License: Freeware | Size: 54.27 KB | Download (95): Test-Parser Download |
Test::Unit::tests::AllTests is a unit testing framework self tests. SYNOPSIS # command line style use perl TestRunner.pl Test::Unit::tests::AllTests # GUI style use perl TkTestRunner.pl Test::Unit::tests::AllTests This class is used by the unit testing framework to encapsulate all the...
Platforms: *nix
License: Freeware | Size: 45.06 KB | Download (92): Test::Unit::tests::AllTests Download |
Test::Unit::Tutorial is a Perl module that contains a tutorial on unit testing. SYNOPSIS perldoc Test::Unit::Tutorial Here should be extensive documentation on what unit testing is, why it is useful, and how to do it with the Test::Unit collection of modules. Sorry for not implementing...
Platforms: *nix
License: Freeware | Size: 45.06 KB | Download (243): Test::Unit::Tutorial 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::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 (88): 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 |