pod tests only if TEST_POD=1
Karel Miko
6 years ago
2 | 2 |
|
3 | 3 |
use Test::More;
|
4 | 4 |
|
|
5 |
plan skip_all => "set TEST_POD to enable this test (developer only!)" unless $ENV{TEST_POD};
|
5 | 6 |
plan skip_all => "File::Find not installed" unless eval { require File::Find };
|
6 | 7 |
plan skip_all => "Test::Pod not installed" unless eval { require Test::Pod };
|
7 | 8 |
plan tests => 102;
|
2 | 2 |
|
3 | 3 |
use Test::More;
|
4 | 4 |
|
|
5 |
plan skip_all => "set TEST_POD to enable this test (developer only!)" unless $ENV{TEST_POD};
|
5 | 6 |
plan skip_all => "File::Find not installed" unless eval { require File::Find };
|
6 | 7 |
plan skip_all => "Test::Pod::Spelling or Text::Aspell not installed" unless eval { require Test::Pod::Spelling; require Text::Aspell; };
|
7 | 8 |
|
2 | 2 |
|
3 | 3 |
use Test::More;
|
4 | 4 |
|
|
5 |
plan skip_all => "set TEST_POD to enable this test (developer only!)" unless $ENV{TEST_POD};
|
5 | 6 |
plan skip_all => "Pod::Coverage not installed" unless eval { require Pod::Coverage };
|
6 | 7 |
plan skip_all => "File::Find not installed" unless eval { require File::Find };
|
7 | 8 |
plan tests => 102;
|