From: Karen Etheridge Date: Mon, 15 Apr 2013 00:47:25 +0000 (-0700) Subject: you gotta have a plan X-Git-Tag: 0.16~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=45b2dbae89e36c43903a81c0fb16555f06a41e9a;p=gitmo%2FMooseX-Daemonize.git you gotta have a plan --- diff --git a/Makefile.PL b/Makefile.PL index 4495486..ab67d85 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -13,6 +13,7 @@ requires 'Moose' => 0.33; requires 'MooseX::Getopt' => 0.07; requires 'MooseX::Types::Path::Class' => 0; requires 'File::Path' => 2.08; +test_requires 'Test::More' => 0.88; test_requires 'Test::Fatal' => 0; no_index 'directory' => 'examples'; diff --git a/t/02.stdout.t b/t/02.stdout.t index d9a23ee..42afda6 100644 --- a/t/02.stdout.t +++ b/t/02.stdout.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More 'no_plan'; +use Test::More; use Test::Builder; use Test::MooseX::Daemonize; use MooseX::Daemonize; @@ -59,4 +59,7 @@ is($warnings, "", "No warnings from stop"); check_test_output($app); unlink( $app->test_output ); + +done_testing; + exit; diff --git a/t/20.core.t b/t/20.core.t index 36d25ce..ce4daff 100644 --- a/t/20.core.t +++ b/t/20.core.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More 'no_plan'; +use Test::More; use Test::Fatal; use Test::Moose; use File::Temp qw(tempdir); @@ -99,4 +99,5 @@ ok(!$p->is_running, '... the daemon process is no longer running (' . $p->pid . unlink $ENV{MX_DAEMON_STDOUT}; unlink $ENV{MX_DAEMON_STDERR}; +done_testing; diff --git a/t/21.core-back-compat.t b/t/21.core-back-compat.t index f252fa7..e5885a6 100644 --- a/t/21.core-back-compat.t +++ b/t/21.core-back-compat.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More 'no_plan'; +use Test::More; use Test::Fatal; use Test::Moose; use File::Temp qw(tempdir); @@ -100,4 +100,5 @@ ok(!$p->is_running, '... the daemon process is no longer running (' . $p->pid . unlink $ENV{MX_DAEMON_STDOUT}; unlink $ENV{MX_DAEMON_STDERR}; +done_testing; diff --git a/t/30.with_pid_file.t b/t/30.with_pid_file.t index 845f9de..fb9629b 100644 --- a/t/30.with_pid_file.t +++ b/t/30.with_pid_file.t @@ -3,7 +3,7 @@ use warnings; use File::Spec::Functions; -use Test::More 'no_plan'; +use Test::More; use Test::Fatal; use Test::Moose; use File::Temp qw(tempdir); @@ -108,3 +108,6 @@ ok(!(-e $PIDFILE), '... the PID file has been removed'); unlink $ENV{MX_DAEMON_STDOUT}; unlink $ENV{MX_DAEMON_STDERR}; + +done_testing; +