File: 07_extra_tests.t

package info (click to toggle)
libtest-useallmodules-perl 0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 152 kB
  • ctags: 11
  • sloc: perl: 72; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use strict;
use warnings;
use FindBin;
use lib glob("$FindBin::Bin/extlib/*/lib");
use Test::More;
use Test::UseAllModules under => qw(lib t/lib/);

BEGIN {
  chdir 't/MANIFESTed';

  plan tests => Test::UseAllModules::_get_module_list() + 1;

  all_uses_ok();
  chdir '../..';

  pass "test count should be correct";
}