Test::Mock::ExternalCommand - Create mock external-command easily
use Test::Mock::ExternalCommand; my $m = Test::Mock::ExternalCommand->new(); $m->set_command( 'my-command-aaa', 'command-output', 0); # use 'my-command-aaa' in your test.
Test::Mock::ExternalCommand enable to make mock-external command in easy way.
set mock external command command.
set mock external command command using subroutine reference(coderef).
return command history.
reset command history.
return overridden command names
Takuya Tsuchida <email@example.com>
Copyright (c) 2010-2013 Takuya Tsuchida
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.