-package Test::MooseX::Daemonize;
use strict;
-
-our $AUTHORITY = 'cpan:PERIGRIN';
+use warnings;
+package Test::MooseX::Daemonize;
# BEGIN CARGO CULTING
-use Sub::Exporter;
-use Test::Builder;
-
-
-{
- my @exports = qw[
- daemonize_ok
- check_test_output
- ];
+use Sub::Exporter::ForMethods 'method_installer';
+use Sub::Exporter -setup => {
+ exports => [ qw(daemonize_ok check_test_output) ],
+ groups => { default => [ qw(daemonize_ok check_test_output) ] },
+ installer => method_installer,
+};
- Sub::Exporter::setup_exporter(
- {
- exports => \@exports,
- groups => { default => \@exports }
- }
- );
-}
+use Test::Builder;
our $Test = Test::Builder->new;
}
package Test::MooseX::Daemonize::Testable;
+
use Moose::Role;
has test_output => (