NAME

Test::CPANfile - see if cpanfile lists every used modules

SYNOPSIS

use Test::CPANfile;
use Test::More;

cpanfile_has_all_used_modules();
done_testing;

DESCRIPTION

This module tests if cpanfile lists every used modules or not.

It's ok if you list a module that is evaled in the code, or a module that does not appear in the code, as requires, but it complains if used module is listed as recommends or suggests.

FUNCTION

cpanfile_has_all_used_modules()

You can pass an optional hash, which is passed to Perl::PrereqScanner::NotQuiteLite::App's constructer to change its behavior.

SEE ALSO

Perl::PrereqScanner::NotQuiteLite

AUTHOR

Kenichi Ishigaki, <ishigaki@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Kenichi Ishigaki.

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