X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=lib%2FGruntmaster%2FDaemon%2FGenerator%2FRun.pm;h=33240af07c481989145d86c423fe2d04c35d6254;hp=818272906cbcdb3b9686ff9fc45b8b4f3a0b0883;hb=d6a1ae0d77398b2a7ed967e10e8420ac7d9980e5;hpb=5c5cd38ad5b9e3c2b331564bc0b23e9167b7d07a diff --git a/lib/Gruntmaster/Daemon/Generator/Run.pm b/lib/Gruntmaster/Daemon/Generator/Run.pm index 8182729..33240af 100644 --- a/lib/Gruntmaster/Daemon/Generator/Run.pm +++ b/lib/Gruntmaster/Daemon/Generator/Run.pm @@ -6,7 +6,7 @@ use warnings; use Log::Log4perl qw/get_logger/; -our $VERSION = '0.001'; +our $VERSION = '5999.000_002'; ################################################## @@ -16,3 +16,37 @@ sub generate{ get_logger->trace("Generating test $test..."); $gen->{run}->($gen->{name}, args => [ $test ], fds => [qw/1 >input/]); } + +1; +__END__ + +=encoding utf-8 + +=head1 NAME + +Gruntmaster::Daemon::Generator::Run - Generate tests from program output + +=head1 SYNOPSIS + + use Gruntmaster::Daemon::Generator::Run; + Gruntmaster::Daemon::Generator::Run->generate(5, $meta); + +=head1 DESCRIPTION + +Gruntmaster::Daemon::Generator::Run is a dynamic test generator. Test C<$i> is the output of running C<< $meta->{files}{gen} >> with argument C<$i>. + +=head1 AUTHOR + +Marius Gavrilescu Emarius@ieval.roE + +=head1 COPYRIGHT AND LICENSE + +Copyright (C) 2014 by Marius Gavrilescu + +This library is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + + +=cut