Bugzilla – Attachment 179274 Details for
Bug 39319
xt/author/podcorrectness.t only test POD for perl files within C4 and Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39319: Add test using Pod::Checker
Bug-39319-Add-test-using-PodChecker.patch (text/plain), 967 bytes, created by
Jonathan Druart
on 2025-03-13 15:30:54 UTC
(
hide
)
Description:
Bug 39319: Add test using Pod::Checker
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-03-13 15:30:54 UTC
Size:
967 bytes
patch
obsolete
>From 4315a886df42543aa21fee692703a86c25bfd294 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 13 Mar 2025 16:27:39 +0100 >Subject: [PATCH] Bug 39319: Add test using Pod::Checker > >podchecker is used by the QA script and catch more than Test::Pod >--- > xt/author/pod_checker.t | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 xt/author/pod_checker.t > >diff --git a/xt/author/pod_checker.t b/xt/author/pod_checker.t >new file mode 100644 >index 00000000000..4c7415bb002 >--- /dev/null >+++ b/xt/author/pod_checker.t >@@ -0,0 +1,17 @@ >+#!/usr/bin/env perl >+ >+use Modern::Perl; >+use Test::More; >+use Test::NoWarnings; >+use Pod::Checker; >+ >+my @files; >+push @files, qx{git ls-files '*.pl' '*.PL' '*.pm' '*.t'}; >+push @files, qx{git ls-files svc opac/svc}; # Files without extension >+chomp for @files; >+ >+plan tests => 1; >+ >+for my $file (@files) { >+ podchecker($file); >+} >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39319
:
179237
|
179238
|
179274
|
179275
|
179370
|
179371
|
179372
|
179373
|
179450
|
179664
|
179665
|
179666
|
179667
|
179668