The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings;
my $VERSION = 1;

use lib qw(../lib . t/);
use ExtUtils::testlib;
use ExtUtils::Manifest;
use Cwd;
use Data::Dumper;
use Test::More tests => 3;

chdir ".." if getcwd =~ /\Wt$/;
# mkmanifest();

my ($missing, $extra) = ExtUtils::Manifest::fullcheck();

@_ = grep {/t\W.*\.t$/} @$missing;
is( 0, scalar(@_), 'No tests missing from manifest') or diag join", ",@_;

@_ = grep {/\.pm$/} @$missing;
is( 0, scalar(@_), 'No PMs missing from manifest') or diag join", ",@_;

is( 0, scalar(@$extra), 'No un-MANIFESTed files found') or diag join", ",@$extra;