NAME

App::Midgen::Role::TestRequires - extra checks for test files, looking for methods in use Test::Requires blocks, used by App::Midgen

VERSION

version: 0.34

METHODS

  • xtests_test_requires

    Checking for the following, extracting module name and version string.

    use Test::Requires { 'Test::Pod' => 1.46 };
    use Test::Requires { 'Test::Extra' => 1.46 };
    use Test::Requires qw[MIME::Types];
    use Test::Requires qw(IO::Handle::Util LWP::Protocol::http10);
    use Test::Requires {
      "Test::Test1" => '1.01',
      'Test::Test2' => 2.02,
    };

    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.