Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use latest logic for testing for author tests
- Loading branch information
1 parent
67075ad
commit c4b3906
Showing
5 changed files
with
43 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ t/noopentickets.t | |
t/pod-cm.t | ||
t/pod.t | ||
t/prereq.t | ||
t/snippets.t | ||
t/spelling.t | ||
t/unused.t | ||
t/vars.t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!perl -wT | ||
|
||
use strict; | ||
use warnings; | ||
use File::Spec; | ||
use Test::Most; | ||
|
||
if($ENV{AUTHOR_TESTING}) { | ||
eval 'use Test::Pod::Snippets'; | ||
|
||
if($@) { | ||
plan(skip_all => 'Test::Pod::Snippets required for testing POD code snippets'); | ||
} else { | ||
my $tps = Test::Pod::Snippets->new(); | ||
|
||
my @modules = qw/ DateTime::Format::Genealogy /; | ||
|
||
$tps->runtest(module => $_, testgroup => 1) for @modules; | ||
|
||
done_testing(); | ||
} | ||
} else { | ||
plan(skip_all => 'Author tests not required for installation'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters