Bug 41521: Exclude lib/WebService from pod xt tests
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
(cherry picked from commit bbf43f465e)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
This commit is contained in:
parent
85190fedf5
commit
7a067fd083
|
|
@ -54,6 +54,11 @@ my $exceptions = {
|
|||
misc/cronjobs/build_browser_and_cloud.pl
|
||||
)
|
||||
],
|
||||
pod => [
|
||||
qw(
|
||||
lib/WebService/
|
||||
)
|
||||
],
|
||||
core => [],
|
||||
},
|
||||
js => {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ use Test::NoWarnings;
|
|||
use Pod::Checker;
|
||||
use Koha::Devel::Files;
|
||||
|
||||
my $dev_files = Koha::Devel::Files->new;
|
||||
my $dev_files = Koha::Devel::Files->new( { context => 'tidy' } );
|
||||
my @files = $dev_files->ls_perl_files;
|
||||
|
||||
plan tests => scalar @files + 1;
|
||||
|
|
|
|||
|
|
@ -19,14 +19,14 @@ use Modern::Perl;
|
|||
use Test::More;
|
||||
use Test::NoWarnings;
|
||||
use Pod::Coverage;
|
||||
use Koha::Devel::Files;
|
||||
|
||||
# Note that we are using Pod::Coverage instead of Test::Pod::Coverage
|
||||
# We do not want to fail if no pod exists in the file.
|
||||
# That could be a next step
|
||||
|
||||
my @files;
|
||||
push @files, qx{git ls-files '*.pm'};
|
||||
chomp for @files;
|
||||
my $dev_files = Koha::Devel::Files->new( { context => 'tidy' } );
|
||||
my @files = $dev_files->ls_perl_files;
|
||||
|
||||
plan tests => scalar(@files) + 1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue