Codebase list libtest-pod-perl / b48636a
[svn-upgrade] Integrating new upstream version, libtest-pod-perl (1.26) Rene Mayorga 16 years ago
6 changed file(s) with 34 addition(s) and 16 deletion(s). Raw diff Collapse all Expand all
00 Change log for Test::Pod
1
2 1.26 - Wed Jul 19 09:54:48 CDT 2006
3
4 No new functionality in this version.
5
6 [FIXES]
7 * Fixed a Win32 build bug.
8 * Fixed a bug in the SYNOPSIS.
19
210 1.24 - Wed Feb 1 15:18:06 PST 2006
311 [THINGS THAT MAY BREAK YOUR CODE]
22 Makefile.PL
33 Pod.pm
44
5 t/00-load.t
56 t/all_pod_files.t
67 t/cut-outside-block.pod
78 t/cut-outside-block.t
0 --- #YAML:1.0
1 name: Test-Pod
2 version: 1.24
3 abstract: ~
4 license: unknown
5 generated_by: ExtUtils::MakeMaker version 6.30_01
6 author: ~
7 distribution_type: module
8 requires:
0 # http://module-build.sourceforge.net/META-spec.html
1 #XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
2 name: Test-Pod
3 version: 1.26
4 version_from: Pod.pm
5 installdirs: site
6 requires:
97 File::Spec: 0
108 Pod::Simple: 2.04
119 Test::Builder::Tester: 1.02
1210 Test::More: 0.62
13 meta-spec:
14 url: <http://module-build.sourceforge.net/META-spec-new.html>;
15 version: 1.1
11
12 distribution_type: module
13 generated_by: ExtUtils::MakeMaker version 6.30
77
88 =head1 VERSION
99
10 Version 1.24
10 Version 1.26
1111
1212 =cut
1313
1414 use vars qw( $VERSION );
15 $VERSION = '1.24';
15 $VERSION = '1.26';
1616
1717 =head1 SYNOPSIS
1818
1919 C<Test::Pod> lets you check the validity of a POD file, and report
2020 its results in standard C<Test::Simple> fashion.
2121
22 use Test::Pod;
23 plan tests => $num_tests;
22 use Test::Pod tests => $num_tests;
2423 pod_file_ok( $file, "Valid POD file" );
2524
2625 Module authors can include the following in a F<t/pod.t> file and
0 #!perl -T
1
2 use warnings;
3 use strict;
4 use Test::More tests => 1;
5
6 BEGIN {
7 use_ok( 'Test::Pod' );
8 }
9
10 diag( "Testing Test::Pod $Test::Pod::VERSION, Perl $], $^X" );
2828 }
2929 my @files = sort map { lc } all_pod_files( "blib", "t/pod" );
3030 @expected = sort map { lc } @expected;
31 s{\\}{/}g for @files, @expected;
3132 is_deeply( \@files, \@expected, "Got all the distro files" );