Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    TAPx::Harness::Compatible 0.50_07

    Download button

    No screenshots available
    Downloads: 507  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.3/5)
    3 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Michael G Schwern | More programs
    Perl Artistic License / FREE
    January 26th, 2008, 14:33 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    TAPx::Harness::Compatible description

    TAPx::Harness::Compatible is a Perl class that allows you to run Perl standard test scripts with statistics.

    TAPx::Harness::Compatible is a Perl class that allows you to run Perl standard test scripts with statistics.

    SYNOPSIS

    use TAPx::Harness::Compatible;

    runtests(@test_files);

    STOP! If all you want to do is write a test script, consider using Test::Simple. TAPx::Harness::Compatible is the module that reads the output from Test::Simple, Test::More and other modules based on Test::Builder. You don't need to know about TAPx::Harness::Compatible to use those modules.

    TAPx::Harness::Compatible runs tests and expects output from the test in a certain format. That format is called TAP, the Test Anything Protocol. It is defined in TAPx::Harness::Compatible::TAP.

    TAPx::Harness::Compatible::runtests(@tests) runs all the testscripts named as arguments and checks standard output for the expected strings in TAP format.

    The prove utility is a thin wrapper around TAPx::Harness::Compatible.

    Taint mode

    TAPx::Harness::Compatible will honor the -T or -t in the #! line on your test files. So if you begin a test with:

    #!perl -T

    the test will be run with taint mode on.

    Configuration variables.

    These variables can be used to configure the behavior of TAPx::Harness::Compatible. They are exported on request.

    $TAPx::Harness::Compatible::Verbose

    The package variable $TAPx::Harness::Compatible::Verbose is exportable and can be used to let runtests() display the standard output of the script without altering the behavior otherwise. The prove utility's -v flag will set this.

    $TAPx::Harness::Compatible::switches

    The package variable $TAPx::Harness::Compatible::switches is exportable and can be used to set perl command line options used for running the test script(s). The default value is -w. It overrides HARNESS_PERL_SWITCHES.

    $TAPx::Harness::Compatible::Timer

    If set to true, and Time::HiRes is available, print elapsed seconds after each test file.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    test scripts | Perl statistics | Perl module | Perl | test | scripts

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM