Koha-clms/xt
Jonathan Druart 319d6f88cd
Bug 40444: Add a test to ensure all Perl test files use Test::NoWarnings
This patch adds a new xt test (xt/use-test-no-warnings.t) to make sure
all our Perl test files will use Test::NoWarnings.

It also adds Test::NoWarnings to some files that were missing it and
that didn't need any other changes.

However we still have 7 non-trivial tests that we will consider
exception for now, until they are fixed.

Test plan:
  prove xt/use-test-no-warnings.t
should return green.
And all other tests modified by this patch (the qa script will do that
for you)

You can also test the 2 selenium tests:
1. DROP and CREATE the DB
  DROP DATABASE koha_kohadev;
  CREATE DATABASE koha_kohadev;
  restart_all
2. KOHA_TESTING=1 prove t/db_dependent/selenium/00-onboarding.t
3. Repeat 1
2. KOHA_TESTING=1 prove t/db_dependent/selenium/01-installation.t

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 63eb2e1f4a)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-09-16 14:02:25 +02:00
..
author Bug 40579: Add author test for CSV formula injection protection 2025-08-26 21:05:13 +02:00
api.t Bug 40433: Add missing maxLength to item, library and patron 2025-08-22 09:47:45 +02:00
check_makefile.t Bug 39304: Make sure git commands return something 2025-04-22 08:46:25 +02:00
find-license-problems.t Bug 40419: Changes to testing logic 2025-07-24 10:23:33 +02:00
find-misplaced-executables.t Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
find-missing-auth_checks.t Bug 24879: Exclude koha_perl_deps.pl 2024-04-03 17:05:51 +02:00
find-missing-csrf.t Bug 39876: Apply module to other tests 2025-07-10 22:47:34 +02:00
find-missing-filters.t Bug 39876: Apply module to other tests 2025-07-10 22:47:34 +02:00
find-missing-new-lines-at-the-end-of-file.t Bug 40541: Add missing new line at the end of files when missing 2025-08-22 09:48:20 +02:00
find-missing-op-in-forms.t Bug 39876: Make find-missing-op-in-forms.t test TT files 2025-07-10 22:47:35 +02:00
js_tidy.t Bug 39115: Remove exclude list from js_tidy.t 2025-02-17 13:10:20 +01:00
perltidy.t Bug 39876: Apply module to other tests 2025-07-10 22:47:34 +02:00
pl_valid.t Bug 39876: Apply module to other tests 2025-07-10 22:47:34 +02:00
single_quotes.t Bug 39876: Apply module to other tests 2025-07-10 22:47:34 +02:00
tt_tidy.t Bug 39876: Get TT files for tt_tidy 2025-07-10 22:47:35 +02:00
use-test-no-warnings.t Bug 40444: Add a test to ensure all Perl test files use Test::NoWarnings 2025-09-16 14:02:25 +02:00
verify-debian-docbook.t Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
verify-yarnlock.t Bug 37490: Add a test to detect when yarn.lock is not updated 2024-09-02 12:13:47 +02:00
verify_bib1.att.t Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
vue_tidy.t Bug 39119: Make js_tidy and vue_tidy test use the tidy script 2025-02-13 17:11:09 +01:00
yaml_valid.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
yaml_valid.t Bug 39319: Fixes for Pod::Checker 2025-04-14 08:51:21 +02:00