Test::App::RunCron - test framework for App::RunCron
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';
Test::App::RunCron is a test framework for App::RunCron
Test $yml_file is valid or not.
Return mock object of "App::RunCron". It is
utility for testing your custom RunCron::Reporter.
Copyright (C) Songmu.
This library is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
Songmu <y.songmu@gmail.com>