cpan Test-Harness 3.17_01

latest releases: 3.49_01, 3.48, 3.47...
pre-release14 years ago
  • Re-engineered source handling API to allow users to configure how
    TAP is sourced by the parser. Introduced a new 'sources' param to
    TAP::Harness, and new options to prove, eg:

    prove --source XYZ --xyz-option foo=bar

The new TAP::Parser::SourceHandler API makes it much easier to
write plugins. This breaks backwards compatibility for plugins &
extenstions that rely on the following APIs:

  TAP::Parser::Source
  TAP::Parser::SourceFactory
  TAP::Parser::IteratorFactory
  TAP::Parser, specifically:
    new: 'source' & 'tap' params
    source_class
    perl_source_class
    iterator_factory_class
    make_source
    make_perl_source
    make_iterator

Please see the TAP::Parser docs for more details.
[Steve Purkis & David Wheeler]

  • Removed dependency on File::Spec [Schwern]
  • Made it possible to pass different args to each test [Lee Johnson]
  • Added HARNESS_SUBCLASS option to Test::Harness
  • Added TAP::Parser::SourceHandler::File which lets you to stream TAP
    from a text file (eg: *.tap).
  • Added TAP::Parser::SourceHandler::pgTAP. All the source handlers are
    new, but this is the only one to add major new functioality: the
    ability to run pgTAP tests (http://pgtap.projects.postgresql.org/).

Don't miss a new Test-Harness release

NewReleases is sending notifications on new releases.