NAME

App::Midgen::Roles::UseOk - extra checks for test files, looking for methods in use_ok in BEGIN blocks, used by App::Midgen

VERSION

version: 0.34

METHODS

  • 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.

AUTHOR

See App::Midgen

CONTRIBUTORS

See App::Midgen

COPYRIGHT

See App::Midgen

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.