|
NAMETest::MooseX::Daemonize - Tool to help test MooseX::Daemonize applicationsVERSIONversion 0.22SYNOPSISuse 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" ); DESCRIPTIONThis module provides some basic Test::Builder-compatible test methods to use when writing tests for your MooseX::Daemonize-based modules.EXPORTED FUNCTIONS
SEE ALSOMooseX::DaemonizeSUPPORTBugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Daemonize> (or bug-MooseX-Daemonize@rt.cpan.org <mailto:bug-MooseX-Daemonize@rt.cpan.org>).There is also a mailing list available for users of this distribution, at <http://lists.perl.org/list/moose.html>. There is also an irc channel available for users of this distribution, at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>. AUTHORS
COPYRIGHT AND LICENCEThis 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.
Visit the GSP FreeBSD Man Page Interface. |