TAPx::Harness::Compatible

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

TAPx::Harness::Compatible Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Michael G Schwern
  • Publisher web site:
  • http://search.cpan.org/~rosch/

TAPx::Harness::Compatible Tags


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 modeTAPx::Harness::Compatible will honor the -T or -t in the #! line on your test files. So if you begin a test with: #!perl -Tthe 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::VerboseThe 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::switchesThe 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::TimerIf set to true, and Time::HiRes is available, print elapsed seconds after each test file. Requirements: · Perl


TAPx::Harness::Compatible Related Software