Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

require TEST_POD environment variable be set before running documenta…

…tion tests.
  • Loading branch information...
commit 4532839758617153fe933dd59eff6b81178b82f7 1 parent 3e50018
Matthew Boyle authored
2  common/t/critic.t
@@ -6,6 +6,8 @@ use Test::More;
6 6 use FindBin;
7 7 use lib "$FindBin::Bin/../lib";
8 8
  9 +plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
  10 +
9 11 eval 'use Test::Perl::Critic';
10 12 plan (
11 13 skip_all => "Test::Perl::Critic required for testing coding standard"
9 common/t/no-fixes.t
@@ -11,9 +11,16 @@ use strict;
11 11 use English qw(-no_match_vars);
12 12 use File::Find;
13 13 use FindBin;
14   -use Test::More tests => 1;
  14 +use Test::More;
15 15 use Pod::Simple::TextContent;
16 16
  17 +if ($ENV{TEST_POD}) {
  18 + plan tests => 1;
  19 +}
  20 +else {
  21 + plan skip_all => 'set TEST_POD to enable this test'
  22 +}
  23 +
17 24 my $count = 0;
18 25
19 26 find(\&fixes, "$FindBin::Bin/../lib");
2  common/t/pod-coverage.t
@@ -6,6 +6,8 @@ use Test::More;
6 6 use FindBin;
7 7 use lib "$FindBin::Bin/../lib";
8 8
  9 +plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
  10 +
9 11 eval 'use Test::Pod::Coverage';
10 12 plan (
11 13 skip_all => "Test::Pod::Coverage required for testing POD coverage"
2  common/t/pod.t
@@ -6,6 +6,8 @@ use Test::More;
6 6 use FindBin;
7 7 use lib "$FindBin::Bin/../lib";
8 8
  9 +plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
  10 +
9 11 eval 'use Test::Pod';
10 12 plan (
11 13 skip_all => "Test::Pod required for testing for POD errors"
2  master/t/critic.t
@@ -6,6 +6,8 @@ use Test::More;
6 6 use FindBin;
7 7 use lib "$FindBin::Bin/../lib";
8 8
  9 +plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
  10 +
9 11 eval 'use Test::Perl::Critic';
10 12 plan (
11 13 skip_all => "Test::Perl::Critic required for testing coding standard"
9 master/t/no-fixes.t
@@ -11,9 +11,16 @@ use strict;
11 11 use English qw(-no_match_vars);
12 12 use File::Find;
13 13 use FindBin;
14   -use Test::More tests => 1;
  14 +use Test::More;
15 15 use Pod::Simple::TextContent;
16 16
  17 +if ($ENV{TEST_POD}) {
  18 + plan tests => 1;
  19 +}
  20 +else {
  21 + plan skip_all => 'set TEST_POD to enable this test'
  22 +}
  23 +
17 24 my $count = 0;
18 25
19 26 find(\&fixes, "$FindBin::Bin/../lib");
2  master/t/pod-coverage.t
@@ -6,6 +6,8 @@ use Test::More;
6 6 use FindBin;
7 7 use lib "$FindBin::Bin/../lib";
8 8
  9 +plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
  10 +
9 11 eval 'use Test::Pod::Coverage';
10 12 plan (
11 13 skip_all => "Test::Pod::Coverage required for testing POD coverage"
2  master/t/pod.t
@@ -6,6 +6,8 @@ use Test::More;
6 6 use FindBin;
7 7 use lib "$FindBin::Bin/../lib";
8 8
  9 +plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
  10 +
9 11 eval 'use Test::Pod';
10 12 plan (
11 13 skip_all => "Test::Pod required for testing for POD errors"
2  node/t/no-fixes.t
@@ -15,7 +15,7 @@ use Test::More;
15 15 use Pod::Simple::TextContent;
16 16
17 17 if ($ENV{TEST_POD}) {
18   - plan tests => 5;
  18 + plan tests => 1;
19 19 }
20 20 else {
21 21 plan skip_all => 'set TEST_POD to enable this test'
2  plugins/t/critic.t
@@ -3,6 +3,8 @@ use warnings;
3 3
4 4 use Test::More;
5 5
  6 +plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
  7 +
6 8 eval 'use Test::Perl::Critic';
7 9 plan (
8 10 skip_all => "Test::Perl::Critic required for testing coding standard"
9 plugins/t/no-fixes.t
@@ -11,9 +11,16 @@ use strict;
11 11 use English qw(-no_match_vars);
12 12 use File::Find;
13 13 use FindBin;
14   -use Test::More tests => 1;
  14 +use Test::More;
15 15 use Pod::Simple::TextContent;
16 16
  17 +if ($ENV{TEST_POD}) {
  18 + plan tests => 1;
  19 +}
  20 +else {
  21 + plan skip_all => 'set TEST_POD to enable this test'
  22 +}
  23 +
17 24 my $count = 0;
18 25
19 26 find(\&fixes, "$FindBin::Bin/../lib");
2  plugins/t/pod-coverage.t
@@ -3,6 +3,8 @@ use warnings;
3 3
4 4 use Test::More;
5 5
  6 +plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
  7 +
6 8 eval 'use Test::Pod::Coverage';
7 9 plan (
8 10 skip_all => "Test::Pod::Coverage required for testing POD coverage"
2  plugins/t/pod.t
@@ -3,6 +3,8 @@ use warnings;
3 3
4 4 use Test::More;
5 5
  6 +plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
  7 +
6 8 eval 'use Test::Pod';
7 9 plan (
8 10 skip_all => "Test::Pod required for testing for POD errors"

0 comments on commit 4532839

Please sign in to comment.
Something went wrong with that request. Please try again.