Provided by: libmoosex-daemonize-perl_0.20-1_all 

NAME
Test::MooseX::Daemonize - Tool to help test MooseX::Daemonize applications
VERSION
version 0.20
SYNOPSIS
use File::Spec::Functions;
use File::Temp qw(tempdir);
my $dir = tempdir( CLEANUP => 1 );
## Try to make sure we are in the test directory
my $file = catfile( $dir, "im_alive" );
my $daemon = FileMaker->new( pidbase => $dir, filename => $file );
daemonize_ok( $daemon, 'child forked okay' );
ok( -e $file, "$file exists" );
DESCRIPTION
This module provides some basic Test::Builder-compatible test methods to use when writing tests for your
MooseX::Daemonize-based modules.
EXPORTED FUNCTIONS
daemonize_ok ( $daemon, ?$msg )
This will attempt to daemonize your $daemon returning ok on success and not ok on failure.
check_test_output ( $daemon )
This is expected to be used with a $daemon which does the Test::MooseX::Daemonize::Testable role
(included in this package see the source for more info). It will collect the test output from your
daemon and apply it in the parent process by mucking around with Test::Builder stuff, again, read the
source for more info. If we get time we will document this more thoroughly.
BUGS AND LIMITATIONS
Please report any bugs or feature requests to "bug-MooseX-Daemonize@rt.cpan.org", or through the web
interface at <http://rt.cpan.org>.
SEE ALSO
MooseX::Daemonize
AUTHORS
• Stevan Little <stevan.little@iinteractive.com>
• Chris Prather <chris@prather.org>
COPYRIGHT AND LICENCE
This software is copyright (c) 2007 by Chris Prather.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5
programming language system itself.
perl v5.20.2 2015-10-25 Test::MooseX::Daemonize(3pm)