File: 03-exclude.t

package info (click to toggle)
libtest-kwalitee-perl 1.01-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 88 kB
  • ctags: 2
  • sloc: perl: 150; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/perl

use strict;
use warnings;

use Test::Builder;
use Test::More tests => 13;

require_ok( 'Test::Kwalitee' );

{
	local *Test::Builder::plan;
	*Test::Builder::plan = sub {};

	Test::Kwalitee->import( tests => [qw( -use_strict -has_readme )] );
}

my $Test = Test::Builder->new();

is( $Test->current_test(), 12, 'Explicitly excluded tests should not run' );