++ed by:

1 non-PAUSE user.

Masayuki Matsuki

NAME

Test::App::RunCron - test framework for App::RunCron

SYNOPSIS

    use Test::App::RunCron;

    runcron_yml_ok 'runcron.yml';

    my $mock_runcron = mock_runcron;
    eval {
        MyApp::Reporter->new->run($mock_runcron);
    };
    ok !$@, 'my reporter ok';

DESCRIPTION

Test::App::RunCron is a test framework for App::RunCron

FUNCTIONS

runcron_yml_ok($yml_file:Str)

Test $yml_file is valid or not.

$mock_runcron = mock_runcron(%opt)

Return mock object of App::RunCron. It is utility for testing your custom RunCron::Reporter.

SEE ALSO

runcron, App::RunCron

LICENSE

Copyright (C) Songmu.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Songmu <y.songmu@gmail.com>