2 # Copyright (C) 2001-2010, Parrot Foundation.
12 eval 'use Parrot::Test::Pod';
14 plan skip_all => 'Prerequisites for Parrot::Test::Pod not satisfied';
21 my $self = Parrot::Test::Pod->new( {
24 ok( defined $self, "Parrot::Test::Pod returned defined value" );
26 my $need_testing_ref = $self->identify_files_for_POD_testing( {
27 second_analysis => 'no_pod_todo',
30 my $bad_files = join( "\n", sort @{ $need_testing_ref } );
31 my $nbad_files = scalar @{ $need_testing_ref };
33 # only ok if everything passed
35 local $TODO = 'some todo remain';
43 diag("\nFound $nbad_files files with 'todo', 'fixme' or 'XXX' items.\n")
48 t/doc/pod_todo.t - find todo items in pod files
53 % prove t/doc/pod_todo.t
56 % perl t/doc/pod_todo.t perl_module.pm perl_file.pl
60 Tests the all files listed in F<MANIFEST> and F<MANIFEST.generated> that
61 appear to contain Pod markup for any todo items. If any files contain the
62 string 'TODO', 'FIXME' or 'XXX', they are reported in the test output.
66 Paul Cochrane <paultcochrane at gmail dot com>; stolen from t/doc/pod.t
72 # cperl-indent-level: 4
75 # vim: expandtab shiftwidth=4: