Skip to content

Commit

Permalink
Add some locally tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
moznion committed Apr 5, 2013
1 parent 09b9d43 commit cce1dbe
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
12 changes: 12 additions & 0 deletions xt/00.vars.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!perl

use strict;
use warnings;
use utf8;

use Test::More;

eval "use Test::Vars";
plan skip_all => "Test::Vars required for testing variables" if $@;

all_vars_ok();
12 changes: 12 additions & 0 deletions xt/01.local_functions.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!perl

use strict;
use warnings;
use utf8;

use Test::More;

eval "use Test::LocalFunctions";
plan skip_all => "Test::LocalFunctions required for testing variables" if $@;

all_local_functions_ok();
9 changes: 9 additions & 0 deletions xt/999.perlcritic.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!perl

if (!require Test::Perl::Critic) {
Test::More::plan(
skip_all => "Test::Perl::Critic required for testing PBP compliance"
);
}

Test::Perl::Critic::all_critic_ok();

0 comments on commit cce1dbe

Please sign in to comment.