diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2010-08-16 17:04:27 +0100 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2010-08-16 17:06:29 +0100 |
commit | 686add28b94eeabc4fbd761332242838957fafeb (patch) | |
tree | bb5a6ccd0437c47f4eb2081caa00af8821c5c3f5 /cpan/Test-Harness/lib/TAP/Parser/SourceHandler.pm | |
parent | be37f89cb1f7abd72db04fba332a0dbf12f8d96b (diff) | |
download | perl-686add28b94eeabc4fbd761332242838957fafeb.tar.gz |
Update Test-Harness to CPAN version 3.22
[DELTA]
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<C3><A4>.
- 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".
Diffstat (limited to 'cpan/Test-Harness/lib/TAP/Parser/SourceHandler.pm')
-rw-r--r-- | cpan/Test-Harness/lib/TAP/Parser/SourceHandler.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpan/Test-Harness/lib/TAP/Parser/SourceHandler.pm b/cpan/Test-Harness/lib/TAP/Parser/SourceHandler.pm index 51cff6fe5e..407b770b61 100644 --- a/cpan/Test-Harness/lib/TAP/Parser/SourceHandler.pm +++ b/cpan/Test-Harness/lib/TAP/Parser/SourceHandler.pm @@ -14,11 +14,11 @@ TAP::Parser::SourceHandler - Base class for different TAP source handlers =head1 VERSION -Version 3.21 +Version 3.22 =cut -$VERSION = '3.21'; +$VERSION = '3.22'; =head1 SYNOPSIS @@ -110,7 +110,7 @@ the easiest sub-class to use an an example. It's important to point out that if you want your subclass to be automatically used by L<TAP::Parser> you'll have to and make sure it gets loaded somehow. If you're using L<prove> you can write an L<App::Prove> plugin. If you're -using L<TAP::Parser> or L<TAP::Harness> directly (eg. through a custom script, +using L<TAP::Parser> or L<TAP::Harness> directly (e.g. through a custom script, L<ExtUtils::MakeMaker>, or L<Module::Build>) you can use the C<config> option which will cause L<TAP::Parser::IteratorFactory/load_sources> to load your subclass). |