File: 40-kwalitee.t

package info (click to toggle)
libterm-extendedcolor-perl 0.504-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 224 kB
  • sloc: perl: 1,036; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/perl
# test the kwalitee of a distribution

use strict;
use warnings;
use Test::More;

unless(exists($ENV{RELEASE_TESTING})) {
  plan skip_all => 'these tests are for release candidate testing';
}

eval {
    require Test::Kwalitee;
    Test::Kwalitee->import(
        tests => [
            qw(
              -has_test_pod
              -has_test_pod_coverage
              -has_readme
              -has_manifest
              -has_changelog
              -has_meta_yml
              )
        ]
    );
};

plan( skip_all => 'Test::Kwalitee not installed; skipping' ) if $@;