From: Vincent Pit Date: Sat, 24 Aug 2013 19:24:28 +0000 (-0300) Subject: This is 0.05 X-Git-Tag: v0.05^0 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FTest-Leaner.git;a=commitdiff_plain;h=dde84b04f9028ee4a422ccbff896de590503792d This is 0.05 --- diff --git a/Changes b/Changes index cd225f4..c59fe68 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,13 @@ Revision history for Test-Leaner +0.05 2013-08-24 19:25 UTC + This is a maintenance release. The code contains no functional change. + Satisfied users of version 0.04 can skip this update. + + Doc : POD headings are now properly linkable. + + Tst : Author tests are no longer bundled with this distribution. + They are only made available to authors in the git repository. + + 0.04 2011-08-24 13:50 UTC + Fix : Correct the copyright for the fallback implementation of _reftype(). diff --git a/META.json b/META.json index 7792820..1cf8810 100644 --- a/META.json +++ b/META.json @@ -4,7 +4,7 @@ "Vincent Pit " ], "dynamic_config" : 0, - "generated_by" : "ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112150", + "generated_by" : "ExtUtils::MakeMaker version 6.72, CPAN::Meta::Converter version 2.132140", "license" : [ "perl_5" ], @@ -22,20 +22,20 @@ "prereqs" : { "build" : { "requires" : { - "Exporter" : 0, - "ExtUtils::MakeMaker" : 0, - "Test::More" : 0 + "Exporter" : "0", + "ExtUtils::MakeMaker" : "0", + "Test::More" : "0" } }, "configure" : { "requires" : { - "ExtUtils::MakeMaker" : 0 + "ExtUtils::MakeMaker" : "0" } }, "runtime" : { "requires" : { - "Exporter" : 0, - "Test::More" : 0, + "Exporter" : "0", + "Test::More" : "0", "perl" : "5.006" } } @@ -43,7 +43,7 @@ "release_status" : "stable", "resources" : { "bugtracker" : { - "web" : "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Leaner" + "web" : "http://rt.cpan.org/Dist/Display.html?Name=Test-Leaner" }, "homepage" : "http://search.cpan.org/dist/Test-Leaner/", "license" : [ @@ -53,5 +53,5 @@ "url" : "http://git.profvince.com/?p=perl%2Fmodules%2FTest-Leaner.git" } }, - "version" : "0.04" + "version" : "0.05" } diff --git a/META.yml b/META.yml index 01e0272..b06153a 100644 --- a/META.yml +++ b/META.yml @@ -9,7 +9,7 @@ build_requires: configure_requires: ExtUtils::MakeMaker: 0 dynamic_config: 0 -generated_by: 'ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112150' +generated_by: 'ExtUtils::MakeMaker version 6.72, CPAN::Meta::Converter version 2.132140' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -24,8 +24,8 @@ requires: Test::More: 0 perl: 5.006 resources: - bugtracker: http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Leaner + bugtracker: http://rt.cpan.org/Dist/Display.html?Name=Test-Leaner homepage: http://search.cpan.org/dist/Test-Leaner/ license: http://dev.perl.org/licenses/ repository: http://git.profvince.com/?p=perl%2Fmodules%2FTest-Leaner.git -version: 0.04 +version: 0.05 diff --git a/README b/README index 43748d9..c888a55 100644 --- a/README +++ b/README @@ -3,7 +3,7 @@ NAME completeness. VERSION - Version 0.04 + Version 0.05 SYNOPSIS use Test::Leaner tests => 10_000; @@ -77,55 +77,101 @@ FUNCTIONS The following functions from Test::More are implemented and exported by default. - "plan [ tests => $count | 'no_plan' | skip_all => $reason ]" + "plan" + plan tests => $count; + plan 'no_plan'; + plan skip_all => $reason; + See "plan" in Test::More. - "skip $reason => $count" + "skip" + skip $reason => $count; + See "skip" in Test::More. - "done_testing [ $count ]" + "done_testing" + done_testing; + done_testing $count; + See "done_testing" in Test::More. - "ok $ok [, $desc ]" + "ok" + ok $ok; + ok $ok, $desc; + See "ok" in Test::More. - "pass [ $desc ]" + "pass" + pass; + pass $desc; + See "pass" in Test::More. - "fail [ $desc ]" + "fail" + fail; + fail $desc; + See "fail" in Test::More. - "is $got, $expected [, $desc ]" + "is" + is $got, $expected; + is $got, $expected, $desc; + See "is" in Test::More. - "isnt $got, $expected [, $desc ]" + "isnt" + isnt $got, $expected; + isnt $got, $expected, $desc; + See "isnt" in Test::More. - "like $got, $regexp_expected [, $desc ]" + "like" + like $got, $regexp_expected; + like $got, $regexp_expected, $desc; + See "like" in Test::More. - "unlike $got, $regexp_expected, [, $desc ]" + "unlike" + unlike $got, $regexp_expected; + unlike $got, $regexp_expected, $desc; + See "unlike" in Test::More. - "cmp_ok $got, $op, $expected [, $desc ]" + "cmp_ok" + cmp_ok $got, $op, $expected; + cmp_ok $got, $op, $expected, $desc; + See "cmp_ok" in Test::More. - "is_deeply $got, $expected [, $desc ]" + "is_deeply" + is_deeply $got, $expected; + is_deeply $got, $expected, $desc; + See "is_deeply" in Test::More. - "diag @text" + "diag" + diag @lines; + See "diag" in Test::More. - "note @text" + "note" + note @lines; + See "note" in Test::More. - "BAIL_OUT [ $desc ]" + "BAIL_OUT" + BAIL_OUT; + BAIL_OUT $desc; + See "BAIL_OUT" in Test::More. Test::Leaner also provides some functions of its own, which are never exported. - "tap_stream [ $fh ]" + "tap_stream" + my $tap_fh = tap_stream; + tap_stream $fh; + Read/write accessor for the filehandle to which the tests are outputted. On write, it also turns autoflush on onto $fh. @@ -134,7 +180,10 @@ FUNCTIONS Defaults to "STDOUT". - "diag_stream [ $fh ]" + "diag_stream" + my $diag_fh = diag_stream; + diag_stream $fh; + Read/write accessor for the filehandle to which the diagnostics are printed. On write, it also turns autoflush on onto $fh. @@ -173,7 +222,7 @@ SUPPORT perldoc Test::Leaner COPYRIGHT & LICENSE - Copyright 2010,2011 Vincent Pit, all rights reserved. + Copyright 2010,2011,2013 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Test/Leaner.pm b/lib/Test/Leaner.pm index 9fed377..9944e25 100644 --- a/lib/Test/Leaner.pm +++ b/lib/Test/Leaner.pm @@ -10,11 +10,11 @@ Test::Leaner - A slimmer Test::More for when you favor performance over complete =head1 VERSION -Version 0.04 +Version 0.05 =cut -our $VERSION = '0.04'; +our $VERSION = '0.05'; =head1 SYNOPSIS