Debian Codegraph @

t/basepods.t

raw symbols SCIP
1 # basepods testing
2
3 # ------ pragmas
4 use strict;
5 use warnings;
6 use Test::More tests => 3;
7
8 # ------ define variable
9 my $output = undef; # output from basepods
10
11 # ------ add pmtools to PATH for testing, so we use the current pmtools
12 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
13
14 eval {
15 $output = `bin/basepods 2>&1`;
16 };
17
18 is($?, 0, "basepods runs");
19 like($output, qr/perl.pod/, "found Perl POD");
20 like($output, qr/perlpod.pod/, "found POD POD");