Changes for version 3.22 - 2010-08-14

  • Allow TAP::Parser to recognize a nested BAIL_OUT directive.
  • Add brief HOWTO for creating and running pgTAP tests to TAP::Parser::SourceHandler::pgTAP.
  • Fix trailing plan + embedded YAML + TAP 13 case. Thanks to Steffen Schwigon. #54518.
  • Numerous spelling fixes. Thanks to Ville Skyttä.
  • Add new option --tapversion for prove to set the default assumed TAP version. Thanks to Steffen Schwigon.
  • Fixed tests to run successfully under Devel::Cover. Thanks to Phillipe Bruhat.
  • Fixed injection of test args to work with general executables as well as Perl scripts (#59186).
  • Allow multiple --ext=.foo arguments to prove, to allow running different types of tests in the same prove run.
  • App::Prove::extension() is now App::Prove::extensions(), and returns an arrayref of extensions, rather than a single scalar. The same change has been made to App::Prove::State::extension().
  • Preserve old semantics for test scripts with a shebang line by favouring Perl as the intepreter for any file with a shebang (#59457).
  • Add --trap (summary on Ctrl-C) option to prove (#59427).
  • Removed TAP::Parser::SourceHandler::pgTAP. Find it in its own distribution on CPAN.
  • Source options to prove can now be specified so as to be passed to the source as a hash reference, eg:
    • prove --source XYZ --xyz-option pset=foo=bar
    • Ths "pset" option will be passed as a hash reference with the key "foo" and the value "bar".

Documentation

contributing to TAP::Harness
Run tests through a TAP harness.

Modules

Implements the prove command.
State storage for the prove command.
Individual test suite results.
Individual test results.
Base class that provides common functionality to TAP::Parser and TAP::Harness
Base class for harness output delegates
Run Perl test scripts with color
Harness output delegate for default console output
Harness output delegate for parallel console output
Harness output delegate for default console output
Harness output delegate for file output
Harness output delegate for file output
Abstract base class for harness output delegate
Run test scripts with statistics
Base class that provides common functionality to all TAP::* modules
Parse TAP output
Aggregate TAP::Parser results
A grammar for the Test Anything Protocol.
Base class for TAP source iterators
Iterator for array-based TAP sources
Iterator for process-based TAP sources
Iterator for filehandle-based TAP sources
Figures out which SourceHandler objects to use for a given Source
Multiplex multiple TAP::Parsers
Base class for TAP::Parser output objects
Bailout result token.
Comment result token.
Plan result token.
TAP pragma token.
Test result token.
Unknown result token.
TAP syntax version token.
YAML result token.
Factory for creating TAP::Parser output objects
Schedule tests during parallel testing
A single testing job.
a TAP source & meta data about it
Base class for different TAP source handlers
Stream output from an executable TAP source
Stream TAP from a text file.
Stream TAP from an IO::Handle or a GLOB.
Stream TAP from a Perl executable
Stream output from raw TAP in a scalar/array ref.
Internal TAP::Parser utilities
Read YAMLish data from iterator
Write YAMLish data
Run Perl standard test scripts with statistics