App::Midgen::Roles::UseOk - extra checks for test files, looking for methods in use_ok in BEGIN blocks, used by App::Midgen
version: 0.32
xtests_use_ok
Checking for the following, extracting module name and version string.
BEGIN { use_ok( 'Term::ReadKey', '2.30' ); use_ok( 'Term::ReadLine', '1.10' ); use_ok( 'Fred::BloggsOne', '1.01' ); use_ok( "Fred::BloggsTwo", "2.02" ); use_ok( 'Fred::BloggsThree', 3.03 ); }
Used to check files in t/ and xt/ directories.
See App::Midgen
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install App::Midgen, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Midgen
CPAN shell
perl -MCPAN -e shell install App::Midgen
For more information on module installation, please visit the detailed CPAN module installation guide.