ok - Alternative to Test::More::use_ok
use ok( 'Some::Module' );
With this module, simply change all use_ok in test scripts to use ok, and they will be executed at BEGIN time.
use_ok
use ok
BEGIN
Please see Test::use::ok for the full description.
Copyright 2005 by Autrijus Tang <autrijus@autrijus.org>.
<autrijus@autrijus.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Test::use::ok, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::use::ok
CPAN shell
perl -MCPAN -e shell install Test::use::ok
For more information on module installation, please visit the detailed CPAN module installation guide.