]>
iEval git - gruntmaster-daemon.git/blob - lib/Gruntmaster/Daemon/Generator/Run.pm
1 package Gruntmaster
:: Daemon
:: Generator
:: Run
;
7 use Log
:: Log4perl qw
/get_logger/ ;
9 our $VERSION = '5999.000_004' ;
11 ##################################################
14 my ( $test , $meta ) = @_ ;
15 my $gen = $meta ->{ files
}{ gen
};
16 get_logger
-> trace ( "Generating test $test ..." );
17 $gen ->{ run
}->( $gen ->{ name
}, args
=> [ $test ], fds
=> [ qw
/1 >input/ ]);
27 Gruntmaster::Daemon::Generator::Run - Generate tests from program output
31 use Gruntmaster::Daemon::Generator::Run;
32 Gruntmaster::Daemon::Generator::Run->generate(5, $meta);
36 Gruntmaster::Daemon::Generator::Run is a dynamic test generator. The input for test C<$i> is the output of running C<< $meta->{files}{gen} >> with argument C<$i>.
40 Marius Gavrilescu E<lt>marius@ieval.roE<gt>
42 =head1 COPYRIGHT AND LICENSE
44 Copyright (C) 2014 by Marius Gavrilescu
46 This library is free software: you can redistribute it and/or modify
47 it under the terms of the GNU Affero General Public License as published by
48 the Free Software Foundation, either version 3 of the License, or
49 (at your option) any later version.
This page took 0.057846 seconds and 5 git commands to generate.