Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moving to git and extra_tests

  • Loading branch information...
commit e5390255556922d03ac3d7a6669df70eb47462d8 1 parent 2c012b2
Marcel Gruenauer authored
View
14 .gitignore
@@ -0,0 +1,14 @@
+Makefile
+blib/
+pm_to_blib/
+embedded/
+cover_db/
+smoke.html
+smoke.yaml
+smoketee.txt
+sqlnet.log
+BUILD.SKIP
+COVER.SKIP
+CPAN.SKIP
+META.yml
+*.swp
View
1  MANIFEST.SKIP
@@ -2,6 +2,7 @@
\bRCS\b
\bCVS\b
.svn
+.git
,v$
# Makemaker/Build.PL generated files and dirs.
View
5 Makefile.PL
@@ -8,11 +8,8 @@ perl_version '5.008';
requires 'Benchmark';
requires 'IO::Capture::Stdout';
-recommends 'Test::Pod';
-recommends 'Test::Pod::Coverage';
-
test_requires 'Test::More' => '0.70';
-test_requires 'Test::Compile';
+extra_tests;
auto_install;
auto_include;
View
13 t/00_compile.t
@@ -1,13 +0,0 @@
-#!perl -w
-
-use strict;
-use warnings;
-
-BEGIN {
- use Test::More;
- eval "use Test::Compile";
- Test::More->builder->BAIL_OUT(
- "Test::Compile required for testing compilation") if $@;
- all_pm_files_ok();
-}
-
View
10 t/00_pod.t
@@ -1,10 +0,0 @@
-#!perl -w
-
-use strict;
-use warnings;
-
-use Test::More;
-eval "use Test::Pod";
-plan skip_all => "Test::Pod required for testing POD" if $@;
-all_pod_files_ok();
-
View
7 xt/author/00_compile.t
@@ -0,0 +1,7 @@
+#!perl -w
+
+use strict;
+use warnings;
+use Test::Compile;
+
+all_pm_files_ok();
View
9 t/00_perl_critic.t → xt/author/01_perl_critic.t
@@ -2,16 +2,11 @@
use strict;
use warnings;
-
use FindBin '$Bin';
use File::Spec;
use UNIVERSAL::require;
use Test::More;
-plan skip_all =>
- 'Author test. Set $ENV{TEST_AUTHOR} to a true value to run.'
- unless $ENV{TEST_AUTHOR};
-
my %opt;
my $rc_file = File::Spec->catfile($Bin, 'perlcriticrc');
$opt{'-profile'} = $rc_file if -r $rc_file;
@@ -22,6 +17,6 @@ if (Perl::Critic->require('1.078') &&
all_critic_ok("lib");
} else {
- plan skip_all => $@;
+ fail('install Perl::Critic and Test::Perl::Critic');
}
-
+
View
7 xt/author/02_pod.t
@@ -0,0 +1,7 @@
+#!perl -w
+
+use strict;
+use warnings;
+use Test::Pod;
+
+all_pod_files_ok();
View
25 xt/author/03_podspell.t
@@ -0,0 +1,25 @@
+#!perl -w
+
+use strict;
+use warnings;
+use Test::Spelling;
+use utf8;
+
+add_stopwords(map { split /[\s\:\-]/ } <DATA>);
+$ENV{LANG} = 'C';
+all_pod_files_spelling_ok('lib');
+
+__DATA__
+API
+CPAN
+Grünauer
+Marcel
+behaviour
+chomps
+github
+init
+op
+pipe's
+ref
+segment's
+unshifts
View
7 xt/author/04_pod_coverage.t
@@ -0,0 +1,7 @@
+#!perl -w
+
+use strict;
+use warnings;
+use Test::Pod::Coverage;
+
+all_pod_coverage_ok();
View
0  t/perlcriticrc → xt/author/perlcriticrc
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.