v.1
This commit is contained in:
commit
c7d27dd869
25 changed files with 785 additions and 0 deletions
13
t/00-load.t
Normal file
13
t/00-load.t
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!perl
|
||||
use 5.008003;
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
|
||||
plan tests => 1;
|
||||
|
||||
BEGIN {
|
||||
use_ok( 'App::SortCopies' ) || print "Bail out!\n";
|
||||
}
|
||||
|
||||
diag( "Testing App::SortCopies $App::SortCopies::VERSION, Perl $], $^X" );
|
||||
15
t/manifest.t
Normal file
15
t/manifest.t
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!perl
|
||||
use 5.008003;
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
|
||||
unless ( $ENV{RELEASE_TESTING} ) {
|
||||
plan( skip_all => "Author tests not required for installation" );
|
||||
}
|
||||
|
||||
my $min_tcm = 0.9;
|
||||
eval "use Test::CheckManifest $min_tcm";
|
||||
plan skip_all => "Test::CheckManifest $min_tcm required" if $@;
|
||||
|
||||
ok_manifest();
|
||||
24
t/pod-coverage.t
Normal file
24
t/pod-coverage.t
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#!perl
|
||||
use 5.008003;
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
|
||||
unless ( $ENV{RELEASE_TESTING} ) {
|
||||
plan( skip_all => "Author tests not required for installation" );
|
||||
}
|
||||
|
||||
# Ensure a recent version of Test::Pod::Coverage
|
||||
my $min_tpc = 1.08;
|
||||
eval "use Test::Pod::Coverage $min_tpc";
|
||||
plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage"
|
||||
if $@;
|
||||
|
||||
# Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
|
||||
# but older versions don't recognize some common documentation styles
|
||||
my $min_pc = 0.18;
|
||||
eval "use Pod::Coverage $min_pc";
|
||||
plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage"
|
||||
if $@;
|
||||
|
||||
all_pod_coverage_ok();
|
||||
16
t/pod.t
Normal file
16
t/pod.t
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!perl
|
||||
use 5.008003;
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
|
||||
unless ( $ENV{RELEASE_TESTING} ) {
|
||||
plan( skip_all => "Author tests not required for installation" );
|
||||
}
|
||||
|
||||
# Ensure a recent version of Test::Pod
|
||||
my $min_tp = 1.22;
|
||||
eval "use Test::Pod $min_tp";
|
||||
plan skip_all => "Test::Pod $min_tp required for testing POD" if $@;
|
||||
|
||||
all_pod_files_ok();
|
||||
Loading…
Add table
Add a link
Reference in a new issue