Import of FLORA/CatalystX-REPL-0.04 from CPAN.
gitpan-cpan-distribution: CatalystX-REPL gitpan-cpan-version: 0.04 gitpan-cpan-path: FLORA/CatalystX-REPL-0.04.tar.gz gitpan-cpan-author: FLORA gitpan-cpan-maturity: released
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
package TestApp;
|
||||
our $VERSION = '0.03';
|
||||
our $VERSION = '0.04';
|
||||
|
||||
|
||||
use Moose;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package TestApp::Controller::Foo;
|
||||
our $VERSION = '0.03';
|
||||
our $VERSION = '0.04';
|
||||
|
||||
|
||||
use Moose;
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
#!perl
|
||||
|
||||
BEGIN {
|
||||
unless ($ENV{RELEASE_TESTING}) {
|
||||
require Test::More;
|
||||
Test::More::plan(skip_all => 'these tests are for release candidate testing');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
use Test::More;
|
||||
|
||||
eval "use Test::Pod::Coverage 1.08";
|
||||
plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
|
||||
if $@;
|
||||
|
||||
eval "use Pod::Coverage::TrustPod";
|
||||
plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
|
||||
if $@;
|
||||
|
||||
all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
|
||||
@@ -0,0 +1,15 @@
|
||||
#!perl
|
||||
|
||||
BEGIN {
|
||||
unless ($ENV{RELEASE_TESTING}) {
|
||||
require Test::More;
|
||||
Test::More::plan(skip_all => 'these tests are for release candidate testing');
|
||||
}
|
||||
}
|
||||
|
||||
use Test::More;
|
||||
|
||||
eval "use Test::Pod 1.00";
|
||||
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
|
||||
|
||||
all_pod_files_ok();
|
||||
+1
-3
@@ -1,13 +1,11 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
BEGIN { @ENV{qw/CATALYST_DEBUG CATALYST_REPL/} = (1, 1); }
|
||||
BEGIN { @ENV{qw/CATALYST_REPL/} = 'noprofile'; }
|
||||
|
||||
use FindBin;
|
||||
use lib "$FindBin::Bin/lib";
|
||||
|
||||
use Catalyst::Test 'TestApp';
|
||||
|
||||
$Carp::REPL::noprofile = 1;
|
||||
|
||||
request($ARGV[0]);
|
||||
|
||||
Reference in New Issue
Block a user