P5U::Lib::AutoProve - support library implementing p5u's auto-prove command
use P5U::Lib::AutoProve; my ($dir, $app) = P5U::Lib::AutoProve->get_app( verbose => 1, xt => 1, ); chdir $dir; $app->run;
This is a support library for the auto-prove command.
There's only one method (a class method, not an object method... this isn't really an OO module) worth caring about:
Returns a two-item list. The first is a directory to chdir to; the second is an instance of App::Prove which the
run method should be called on.
%opts represents the command-line options passed to prove. When options have an abbreviated and full version (e.g.
--verbose) the longer version is expected, without the dashes. For boolean options, the value is ignored; the existance of the option in the hash at all (even with a false or undefined value) switches it on.
Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=P5U.
Toby Inkster <firstname.lastname@example.org>.
This software is copyright (c) 2012 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.