[Bps-public-commit] r15716 - Text-Naming-Convention/t

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Sep 3 03:38:15 EDT 2008


Author: sunnavy
Date: Wed Sep  3 03:38:15 2008
New Revision: 15716

Added:
   Text-Naming-Convention/t/perlcritic.t

Log:
added perlcritic test

Added: Text-Naming-Convention/t/perlcritic.t
==============================================================================
--- (empty file)
+++ Text-Naming-Convention/t/perlcritic.t	Wed Sep  3 03:38:15 2008
@@ -0,0 +1,16 @@
+use strict;
+use warnings;
+
+use Test::More;
+
+# we forced use Perl::Critic is for version limit
+eval "use Perl::Critic 1.090; use Test::Perl::Critic 1.01";
+if ($@) {
+    plan skip_all =>
+"Perl::Critic 1.090 and Test::Perl::Critic 1.01 required for testing PBP compliance";
+}
+elsif ( !-e 'inc/.author' ) {
+    plan skip_all => 'no inc/.author, will not run this test ;)';
+}
+
+Test::Perl::Critic::all_critic_ok();



More information about the Bps-public-commit mailing list