Codebase list libtest-useallmodules-perl / debian/latest t / 05_except.t
debian/latest

Tree @debian/latest (Download .tar.gz)

05_except.t @debian/latestraw · history · blame

use strict;
use warnings;
use FindBin;
use lib glob("$FindBin::Bin/extlib/*/lib");
use Test::UseAllModules;
use Test::More tests => 2;

BEGIN {
  chdir 't/MANIFESTed';
  my @modules = Test::UseAllModules::_get_module_list( except => qr/Foo/ );
  ok @modules == 1;
  ok $modules[0] eq 'TestUseAllModulesTest';
  chdir '../..';
}