1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
3 ;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
4 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
5 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
6 ;;; Copyright © 2016 Nikita <nikita@n0.is>
7 ;;; Copyright © 2016, 2017, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
8 ;;; Copyright © 2016, 2017 Alex Sassmannshausen <alex@pompo.co>
9 ;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
10 ;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
11 ;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
12 ;;; Copyright © 2017 Petter <petter@mykolab.ch>
13 ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
14 ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
15 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
16 ;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
17 ;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
18 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
20 ;;; This file is part of GNU Guix.
22 ;;; GNU Guix is free software; you can redistribute it and/or modify it
23 ;;; under the terms of the GNU General Public License as published by
24 ;;; the Free Software Foundation; either version 3 of the License, or (at
25 ;;; your option) any later version.
27 ;;; GNU Guix is distributed in the hope that it will be useful, but
28 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
29 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 ;;; GNU General Public License for more details.
32 ;;; You should have received a copy of the GNU General Public License
33 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
35 (define-module (gnu packages perl-check)
36 #:use-module (guix licenses)
37 #:use-module (gnu packages)
38 #:use-module (gnu packages valgrind)
39 #:use-module (gnu packages web)
40 #:use-module (guix packages)
41 #:use-module (guix download)
42 #:use-module (guix build-system perl)
43 #:use-module (gnu packages perl))
46 ;;; Please: Try to add new module packages in alphabetic order.
50 (define-public perl-mock-config
52 (name "perl-mock-config")
57 (uri (string-append "mirror://cpan/authors/id/R/RU/RURBAN/Mock-Config-"
60 (base32 "06q0xkg5cwdwafzmb9rkaa305ddv7vli9gpm6n9jnkyaaxbk9f55"))))
61 (build-system perl-build-system)
62 (home-page "https://metacpan.org/release/Mock-Config")
63 (synopsis "Temporarily set Config or XSConfig values")
65 "The @code{Mock::Config} Perl module allows temporarily setting and
66 overriding @code{Config} values, even for the readonly @code{XSConfig}
67 implementation as used in cperl. It does not store the mocked overrides
68 lexically, just dynamically.")
69 (license artistic2.0)))
71 (define-public perl-test2-suite
73 (name "perl-test2-suite")
78 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/Test2-Suite-"
82 "0hgd6n29qjh1pwqvbglm2kb852yqshmixqqjhsr2kvvibdr58qpf"))))
83 (build-system perl-build-system)
86 (modify-phases %standard-phases
87 (add-after 'unpack 'set-env
88 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
90 `(("perl-importer" ,perl-importer)
91 ("perl-term-table" ,perl-term-table)
92 ("perl-sub-info" ,perl-sub-info)))
93 (home-page "https://metacpan.org/pod/Test2-Suite")
94 (synopsis "Full set of tools for Test2::Suite")
95 (description "This package provides a rich set of tools, plugins, bundles,
96 etc built upon the Test2 testing library.")
97 (license perl-license)))
99 (define-public perl-test2-plugin-nowarnings
101 (name "perl-test2-plugin-nowarnings")
106 (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/Test2-Plugin-NoWarnings-"
110 "002qk6qsm0l6r2kaxywvc38w0yf0mlavgywq8li076pn6kcw3242"))))
111 (build-system perl-build-system)
113 `(("perl-ipc-run3" ,perl-ipc-run3)))
115 `(("perl-test2-suite" ,perl-test2-suite)))
116 (home-page "https://metacpan.org/release/Test2-Plugin-NoWarnings")
117 (synopsis "Fail if tests warn")
118 (description "Loading this plugin causes your tests to fail if there any
119 warnings while they run. Each warning generates a new failing test and the
120 warning content is outputted via diag.")
121 (license perl-license)))
123 (define-public perl-test-base
125 (name "perl-test-base")
130 (uri (string-append "mirror://cpan/authors/id/I/IN/INGY/"
131 "Test-Base-" version ".tar.gz"))
134 "056hibgg3i2b89mwr76vyxi6ayb3hqjqcwicvn3s5lximsma3517"))))
135 (build-system perl-build-system)
137 `(("perl-algorithm-diff" ,perl-algorithm-diff)
138 ("perl-text-diff" ,perl-text-diff)))
140 `(("perl-spiffy" ,perl-spiffy)
141 ("perl-test-deep" ,perl-test-deep)))
142 (home-page "https://metacpan.org/release/Test-Base")
143 (synopsis "Data-driven testing framework for Perl")
144 (description "Test::Base gives a way to trivially write your own test
145 framework base class. It concentrates on offering reusable data driven
146 patterns, so that you can write tests with a minimum of code.")
147 (license perl-license)))
149 (define-public perl-test-checkdeps
151 (name "perl-test-checkdeps")
157 "mirror://cpan/authors/id/L/LE/LEONT/Test-CheckDeps-"
162 "1vjinlixxdx6gfcw8y1dw2rla8bfhi8nmgcqr3nffc7kqskcrz36"))))
163 (build-system perl-build-system)
165 `(("perl-cpan-meta-check" ,perl-cpan-meta-check)))
166 (home-page "https://metacpan.org/release/Test-CheckDeps")
167 (synopsis "Check for presence of dependencies")
169 "This module provides a test that checks all dependencies have been
170 installed properly.")
171 (license perl-license)))
173 (define-public perl-test-class
175 (name "perl-test-class")
181 "https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Class-"
186 "0l0kk5jvxjkic2jkf1r7v41irb344aasnzr3f5ygjgxgiknm9489"))))
187 (build-system perl-build-system)
189 `(("perl-test-exception" ,perl-test-exception)))
191 `(("perl-module-runtime" ,perl-module-runtime)
192 ("perl-mro-compat" ,perl-mro-compat)
193 ("perl-try-tiny" ,perl-try-tiny)))
194 (home-page "https://metacpan.org/release/Test-Class")
195 (synopsis "Easily create test classes in an xUnit/JUnit style")
196 (description "@code{Test::Class} provides a simple way of creating classes
197 and objects to test your code in an xUnit style.
199 Built using @code{Test::Builder}, it was designed to work with other
200 @code{Test::Builder} based modules (@code{Test::More},
201 @code{Test::Differences}, @code{Test::Exception}, etc.).")
202 (license perl-license)))
204 (define-public perl-test-class-most
206 (name "perl-test-class-most")
212 "mirror://cpan/authors/id/O/OV/OVID/Test-Class-Most-"
217 "1zvx9hil0mg0pnb8xfa4m0xgjpvh8s5gnbyprq3xwpdsdgcdwk33"))))
218 (build-system perl-build-system)
220 `(("perl-module-build" ,perl-module-build)))
222 `(("perl-test-class" ,perl-test-class)
223 ("perl-test-most" ,perl-test-most)
224 ("perl-module-runtime" ,perl-module-runtime)
225 ("perl-try-tiny" ,perl-try-tiny)
226 ("perl-mro-compat" ,perl-mro-compat)))
227 (home-page "https://metacpan.org/release/Test-Class-Most")
228 (synopsis "Test classes the easy way")
229 (description "@code{Test::Class::Most} provides some more convenience when
230 using @code{Test::Class}.")
231 (license perl-license)))
233 (define-public perl-test-cleannamespaces
235 (name "perl-test-cleannamespaces")
240 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
241 "Test-CleanNamespaces-" version ".tar.gz"))
243 (base32 "0yijspncqgmbkkxrh66xx1pliajar05yqhzq6m4nb6p8x1lmb39k"))))
244 (build-system perl-build-system)
246 `(("perl-file-pushd" ,perl-file-pushd)
247 ("perl-test-requires" ,perl-test-requires)
248 ("perl-test-deep" ,perl-test-deep)
249 ("perl-test-warnings" ,perl-test-warnings)
250 ("perl-test-needs" ,perl-test-needs)))
252 `(("perl-namespace-clean" ,perl-namespace-clean)
253 ("perl-package-stash" ,perl-package-stash)
254 ("perl-sub-identify" ,perl-sub-identify)
255 ("perl-sub-exporter" ,perl-sub-exporter)
256 ("perl-file-find-rule" ,perl-file-find-rule)
257 ("perl-file-find-rule-perl" ,perl-file-find-rule-perl)))
258 (home-page "https://metacpan.org/release/Test-CleanNamespaces")
259 (synopsis "Check for uncleaned imports")
260 (description "This module lets you check your module's namespaces for
261 imported functions you might have forgotten to remove with
262 namespace::autoclean or namespace::clean and are therefore available to be
263 called as methods, which usually isn't want you want.")
264 (license perl-license)))
266 (define-public perl-test-command
268 (name "perl-test-command")
273 "mirror://cpan/authors/id/D/DA/DANBOO/Test-Command-"
277 "0cwm3c4d49mdrbm6vgh78b3x8mk730l0zg8i7xb9z8bkx9pzr8r8"))))
278 (build-system perl-build-system)
280 `(("perl-module-build" ,perl-module-build)))
281 (home-page "https://github.com/danboo/perl-test-command")
282 (synopsis "Test routines for external commands")
284 "This module provides routines for testing the exit status, standard
285 output and standard error of external commands.")
286 (license perl-license)))
288 (define-public perl-test-cpan-meta
290 (name "perl-test-cpan-meta")
296 "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-"
301 "1dcdbbdwdyhpldkhjzc9rvzlmb5jbil6fwh2x07nsfdwysf4ynzm"))))
302 (build-system perl-build-system)
304 `(("perl-test-cpan-meta-json" ,perl-test-cpan-meta-json)
305 ("perl-test-pod" ,perl-test-pod)
306 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
308 "https://metacpan.org/release/Test-CPAN-Meta")
309 (synopsis "Validate your CPAN META.yml files")
311 "This module was written to ensure that a META.yml file meets the
313 (license artistic2.0)))
315 (define-public perl-test-cpan-meta-json
317 (name "perl-test-cpan-meta-json")
323 "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-JSON-"
328 "1jg9ka50ixwq083wd4k12rhdjq87w0ihb34gd8jjn7gvvyd51b37"))))
329 (build-system perl-build-system)
331 `(("perl-test-pod" ,perl-test-pod)
332 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
334 `(("perl-json" ,perl-json)))
336 "https://metacpan.org/release/Test-CPAN-Meta-JSON")
337 (synopsis "Validate your CPAN META.json files")
339 "This module was written to ensure that a META.json file meets the
341 (license artistic2.0)))
343 (define-public perl-test-deep
345 (name "perl-test-deep")
349 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
350 "Test-Deep-" version ".tar.gz"))
353 "1kdy06r0yg7zwarqglc9163vbfb0sfc4s6ld4pw5q7i9f7mghzi0"))))
354 (build-system perl-build-system)
355 (inputs `(("perl-test-nowarnings" ,perl-test-nowarnings)))
356 (synopsis "Flexible deep comparison for the Test::Builder framework")
358 "Test::Deep compares two structures by going through each level, ensuring
359 that the values match, that arrays and hashes have the same elements and that
360 references are blessed into the correct class. It also handles circular data
361 structures without getting caught in an infinite loop.")
362 (home-page "https://metacpan.org/release/Test-Deep")
363 (license gpl1+))) ; or "Artistic License"
365 (define-public perl-test-differences
367 (name "perl-test-differences")
372 (uri (string-append "mirror://cpan/authors/id/D/DC/DCANTRELL/"
373 "Test-Differences-" version ".tar.gz"))
375 (base32 "1nkqr3m4lbzw7fkkzah42aiqlhxapamk6kw7hj90cjwkifsbp3f8"))))
376 (build-system perl-build-system)
378 `(("perl-module-build" ,perl-module-build)))
380 `(("perl-text-diff" ,perl-text-diff)
381 ("perl-capture-tiny" ,perl-capture-tiny)))
382 (home-page "https://metacpan.org/release/Test-Differences")
383 (synopsis "Test strings and data structures and show differences")
384 (description "This module exports three test functions and four diff-style
386 ;; See LICENSE section of Test/Differences.pm, which reads "... GNU public
387 ;; license, any version, ..."
390 (define-public perl-test-dir
392 (name "perl-test-dir")
397 (uri (string-append "mirror://cpan/authors/id/M/MT/MTHURN/"
398 "Test-Dir-" version ".tar.gz"))
401 "1hpafgr93jjl6s8spskhdxhgich4cccmaiq99mla5diyj4iv6ckk"))))
402 (build-system perl-build-system)
404 `(("perl-pod-coverage" ,perl-pod-coverage)
405 ("perl-test-pod" ,perl-test-pod)
406 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
407 (home-page "https://metacpan.org/release/Test-Dir")
408 (synopsis "Utilities for testing directory attributes")
410 "This modules provides a collection of test utilities for directory
412 (license perl-license)))
414 (define-public perl-test-directory
416 (name "perl-test-directory")
421 (uri (string-append "mirror://cpan/authors/id/S/SA/SANBEG/"
422 "Test-Directory-" version ".tar.gz"))
425 "1ncql08cizhicbxwd753b4czns8nlcnlw0zfjcfrbdd41x4j6hqr"))))
426 (build-system perl-build-system)
427 (native-inputs `(("perl-test-exception" ,perl-test-exception)))
428 (home-page "https://metacpan.org/release/Test-Directory")
429 (synopsis "Perl extension for maintaining test directories")
430 (description "Testing code can involve making sure that files are created
431 and deleted as expected. Doing this manually can be error prone, as it's easy
432 to forget a file, or miss that some unexpected file was added. This module
433 simplifies maintaining test directories by tracking their status as they are
434 modified or tested with this API, making it simple to test both individual
435 files, as well as to verify that there are no missing or unknown files.")
436 (license perl-license)))
438 (define-public perl-test-distmanifest
440 (name "perl-test-distmanifest")
446 "mirror://cpan/authors/id/E/ET/ETHER/Test-DistManifest-"
449 (base32 "1ifpff5simjslabwy7ac6kdylv4c0b5b39fgpwf9ha16yh6w49ix"))))
450 (build-system perl-build-system)
452 `(("perl-module-build" ,perl-module-build)))
454 `(("perl-module-manifest" ,perl-module-manifest)))
455 (home-page "https://github.com/jawnsy/Test-DistManifest")
456 (synopsis "Author test that validates a package @file{MANIFEST}")
458 "@code{Test::DistManifest} provides a simple method of testing that a
459 @file{MANIFEST} file matches its distribution.")
460 (license perl-license)))
462 (define-public perl-test-distribution
464 (name "perl-test-distribution")
470 "mirror://cpan/authors/id/S/SR/SRSHAH/Test-Distribution-"
474 "0s1bj459qaw2x1fckklv9irpf3mr8gp2cm9vlyrb5dyanrzx1v2h"))))
475 (build-system perl-build-system)
477 `(("perl-module-build" ,perl-module-build)))
479 `(("perl-file-find-rule" ,perl-file-find-rule)
480 ("perl-pod-coverage" ,perl-pod-coverage)
481 ("perl-test-pod" ,perl-test-pod)
482 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
483 (home-page "https://metacpan.org/release/Test-Distribution")
484 (synopsis "Perform tests on all modules of a distribution")
485 (description "When used in a test script @code{Test::Distribution}
486 goes through all the modules in your distribution, checks their POD,
487 checks that they compile successfully and checks that they all define
488 a $VERSION. In addition, this module performs a number of tests on
489 the distribution itself. It checks that the distributed files match
490 the SIGNATURE file, if that file exists. It checks that the
491 distribution is not missing any core description files. It also
492 checks that the complete set of pre-requisite packages are listed in
493 the Makefile.PL file.")
494 (license perl-license)))
496 (define-public perl-test-eol
498 (name "perl-test-eol")
504 "mirror://cpan/authors/id/E/ET/ETHER/Test-EOL-"
509 "0l3bxpsw0x7j9nclizcp53mnf9wny25dmg2iglfhzgnk0xfpwzwf"))))
510 (build-system perl-build-system)
512 "https://metacpan.org/release/Test-EOL")
514 "Check the correct line endings in your project")
516 "@code{Test::EOL} lets you check for the presence of trailing whitespace
517 and/or windows line endings in your perl code.")
518 (license perl-license)))
520 (define-public perl-test-exception
522 (name "perl-test-exception")
527 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
528 "Test-Exception-" version ".tar.gz"))
531 "0cxm7s4bg0xpxa6l6996a6iq3brr4j7p4hssnkc6dxv4fzq16sqm"))))
532 (build-system perl-build-system)
534 `(("perl-module-build" ,perl-module-build)))
536 `(("perl-sub-uplevel" ,perl-sub-uplevel)))
537 (home-page "https://metacpan.org/release/Test-Exception")
538 (synopsis "Test exception based code")
539 (description "This module provides a few convenience methods for testing
540 exception based code. It is built with Test::Builder and plays happily with
541 Test::More and friends.")
542 (license perl-license)))
544 (define-public perl-test-failwarnings
546 (name "perl-test-failwarnings")
552 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-"
556 "0vx9chcp5x8m0chq574p9fnfckh5gl94j7904rh9v17n568fyd6s"))))
557 (build-system perl-build-system)
559 `(("perl-capture-tiny" ,perl-capture-tiny)))
560 (home-page "https://metacpan.org/release/Test-FailWarnings")
561 (synopsis "Add test failures if warnings are caught")
563 "Test::FailWarnings adds test failures if warnings are caught.")
566 (define-public perl-test-fatal
568 (name "perl-test-fatal")
573 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
574 "Test-Fatal-" version ".tar.gz"))
577 "1c6bs68mss4q7cyapkv2c0jn66i21050p0faxf3s3417gdffzp5w"))))
578 (build-system perl-build-system)
579 (propagated-inputs `(("perl-try-tiny" ,perl-try-tiny)))
580 (home-page "https://metacpan.org/release/Test-Fatal")
581 (synopsis "Simple helpers for testing code with exceptions")
582 (description "Test::Fatal is an alternative to the popular
583 Test::Exception. It does much less, but should allow greater flexibility in
584 testing exception-throwing code with about the same amount of typing.")
585 (license perl-license)))
587 (define-public perl-test-file
589 (name "perl-test-file")
595 "mirror://cpan/authors/id/B/BD/BDFOY/Test-File-"
599 (base32 "0195dnvwxxphwbglw6cjid3j7kq15xg46lr7r4468idvadyal6c7"))))
600 (build-system perl-build-system)
602 `(("perl-test-utf8" ,perl-test-utf8)))
603 (home-page "https://metacpan.org/release/Test-File")
604 (synopsis "Utilities for testing file attributes")
606 "@code{Test::File} provides a collection of test utilities for file
608 (license perl-license)))
610 (define-public perl-test-file-contents
612 (name "perl-test-file-contents")
618 "mirror://cpan/authors/id/D/DW/DWHEELER/Test-File-Contents-"
623 "0g8zgfyw84181snw7ghahnl9r4lrmlfj7zwi76sv8d0bj7xssvyd"))))
624 (build-system perl-build-system)
626 `(("perl-module-build" ,perl-module-build)))
628 `(("perl-test-pod" ,perl-test-pod)
629 ("perl-test-pod-coverage" ,perl-test-pod-coverage)
630 ("perl-text-diff" ,perl-text-diff)))
631 (home-page "https://metacpan.org/release/Test-File-Contents")
632 (synopsis "Test routines for examining the contents of files")
634 "@{Test::File::Contents} provides functions for testing the contents of
636 (license perl-license)))
638 (define-public perl-test-file-sharedir-dist
640 (name "perl-test-file-sharedir-dist")
645 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
646 "Test-File-ShareDir-" version ".tar.gz"))
649 "1bbs6cx69wcinq77gif4i4pmrj8a7lwb92sgvvxzrwmjnk5lfdmk"))))
650 (build-system perl-build-system)
652 `(("perl-class-tiny" ,perl-class-tiny)
653 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
654 ("perl-file-sharedir" ,perl-file-sharedir)
655 ("perl-path-tiny" ,perl-path-tiny)
656 ("perl-scope-guard" ,perl-scope-guard)
657 ("perl-test-fatal" ,perl-test-fatal)))
658 (home-page "https://github.com/kentnl/Test-File-ShareDir")
659 (synopsis "Dist oriented ShareDir tester")
660 (description "This module creates a Fake ShareDir for your modules
662 (license perl-license)))
664 (define-public perl-test-filename
666 (name "perl-test-filename")
672 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-Filename-"
676 "1gpw4mjw68gnby8s4cifvbz6g2923xsc189jkw9d27i8qv20qiba"))))
677 (build-system perl-build-system)
679 `(("perl-path-tiny" ,perl-path-tiny)))
680 (home-page "https://metacpan.org/release/Test-Filename")
681 (synopsis "Portable filename comparison")
682 (description "Test::Filename provides functions to convert all path
683 separators automatically.")
686 (define-public perl-test-files
688 (name "perl-test-files")
694 "mirror://cpan/authors/id/P/PH/PHILCROW/Test-Files-"
699 "1zn33yigznq7i1jr4yjr4lxvc6bn7znkbqdzj7slhc146pqapkln"))))
700 (build-system perl-build-system)
702 `(("perl-algorithm-diff" ,perl-algorithm-diff)
703 ("perl-text-diff" ,perl-text-diff)))
704 (home-page "https://metacpan.org/release/Test-Files")
705 (synopsis "Ease software testing with files and directories")
706 (description "This library provides functions to enable testing of files
707 and directories. For instance, the @code{file_ok} helper can test whether the
708 contents of a file is equal to a particular string.")
709 (license perl-license)))
711 (define-public perl-test-harness
713 (name "perl-test-harness")
718 (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/"
719 "Test-Harness-" version ".tar.gz"))
721 (base32 "0lwfaamhpqia0ks4pcci83xbqz6jhng7acv95qk6wbd8zr70vn8g"))))
722 (build-system perl-build-system)
725 (modify-phases %standard-phases
726 (add-before 'check 'patch-test
727 (lambda* (#:key inputs #:allow-other-keys)
728 ;; This test looks for "#!/usr/bin/perl" in some source.
729 ;; Patch what the test looks for.
730 (substitute* "t/source.t"
732 (string-append "#!" (assoc-ref inputs "perl")
735 (home-page "https://metacpan.org/release/Test-Harness")
736 (synopsis "Run Perl standard test scripts with statistics")
737 (description "Simple test harness which allows tests to be run and results
738 automatically aggregated and output to STDOUT.")
739 (license perl-license)))
741 (define-public perl-test-leaktrace
743 (name "perl-test-leaktrace")
748 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
749 "Test-LeakTrace-" version ".tar.gz"))
752 "00z4hcjra5nk700f3fgpy8fs036d7ry7glpn8g3wh7jzj7nrw22z"))))
753 (build-system perl-build-system)
754 (home-page "https://metacpan.org/release/Test-LeakTrace")
755 (synopsis "Traces memory leaks in Perl")
756 (description "Test::LeakTrace provides several functions that trace memory
757 leaks. This module scans arenas, the memory allocation system, so it can
758 detect any leaked SVs in given blocks.")
759 (license perl-license)))
761 (define-public perl-test-longstring
763 (name "perl-test-longstring")
768 (uri (string-append "mirror://cpan/authors/id/R/RG/RGARCIA/"
769 "Test-LongString-" version ".tar.gz"))
772 "0kwp7rfr1i2amz4ckigkv13ah7jr30q6l5k4wk0vxl84myg39i5b"))))
773 (build-system perl-build-system)
774 (home-page "https://metacpan.org/release/Test-LongString")
775 (synopsis "Tests strings for equality, with more helpful failures")
776 (description "This module provides some drop-in replacements for the
777 string comparison functions of Test::More, but which are more suitable when
778 you test against long strings.")
779 (license perl-license)))
781 (define-public perl-test-manifest
783 (name "perl-test-manifest")
787 (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/"
788 "Test-Manifest-" version ".tar.gz"))
791 "1n9jscnni24sbp4v5gjlcy3iknfwvmy0731xwvk1c3jq3kbslym4"))))
792 (build-system perl-build-system)
794 `(("perl-test-pod" ,perl-test-pod)
795 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
796 (home-page "https://metacpan.org/release/Test-Manifest")
797 (synopsis "Interact with a t/test_manifest file")
798 (description "@code{Test::Manifest} overrides the default test file order. Instead of
799 running all of the t/*.t files in ASCII-betical order, it looks in the t/test_manifest
800 file to find out which tests you want to run and the order in which you want to run them.
801 It constructs the right value for the build system to do the right thing.")
802 (license perl-license)))
804 (define-public perl-test-memory-cycle
806 (name "perl-test-memory-cycle")
812 "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-"
817 "00ijmgx1r3cxrcs1qa9rb2s4gbm3nsawd90drda89kb4r7yxslwx"))))
818 (build-system perl-build-system)
820 `(("perl-padwalker" ,perl-padwalker)))
822 `(("perl-devel-cycle" ,perl-devel-cycle)))
824 "https://metacpan.org/release/Test-Memory-Cycle")
826 "Verifies code hasn't left circular references")
828 "@code{Test::Memory::Cycle} is built on top of @code{Devel::Cycle} to
829 give you an easy way to check for these circular references.
832 use Test::Memory::Cycle;
834 my $object = new MyObject;
835 # Do stuff with the object.
836 memory_cycle_ok( $object );
838 (license artistic2.0)))
840 (define-public perl-test-mockmodule
842 (name "perl-test-mockmodule")
847 (uri (string-append "mirror://cpan/authors/id/G/GF/GFRANKS/"
848 "Test-MockModule-v" version ".tar.gz"))
850 (base32 "1arqgb1773zym5dqlwm6kz48bfrccjhb5bjfsif0vkalwq2gvm7b"))))
851 (build-system perl-build-system)
853 `(("perl-module-build" ,perl-module-build)
855 ("perl-test-pod" ,perl-test-pod)
856 ("perl-test-pod-coverage" ,perl-test-pod-coverage)
857 ("perl-test-warnings" ,perl-test-warnings)))
859 `(("perl-super" ,perl-super)))
860 (home-page "https://metacpan.org/release/Test-MockModule")
861 (synopsis "Override subroutines in a module for unit testing")
863 "@code{Test::MockModule} lets you temporarily redefine subroutines in other
864 packages for the purposes of unit testing. A @code{Test::MockModule} object is
865 set up to mock subroutines for a given module. The mocked object remembers the
866 original subroutine so it can be easily restored. This happens automatically
867 when all @code{MockModule} objects for the given module go out of scope, or when
868 you @code{unmock()} the subroutine.")
871 (define-public perl-test-mockobject
873 (name "perl-test-mockobject")
874 (version "1.20191002")
878 (uri (string-append "mirror://cpan/authors/id/C/CH/CHROMATIC/"
879 "Test-MockObject-" version ".tar.gz"))
881 (base32 "160r36j727hw6syazh6sfq862f95dp1zcga0nil7cjlry77lqsn7"))))
882 (build-system perl-build-system)
884 `(("perl-cgi" ,perl-cgi)
885 ("perl-test-exception" ,perl-test-exception)
886 ("perl-test-warn" ,perl-test-warn)))
888 `(("perl-test-exception" ,perl-test-exception)
889 ("perl-test-warn" ,perl-test-warn)
890 ("perl-universal-can" ,perl-universal-can)
891 ("perl-universal-isa" ,perl-universal-isa)))
892 (home-page "https://metacpan.org/release/Test-MockObject")
893 (synopsis "Emulate troublesome interfaces in Perl")
894 (description "Test::MockObject allows you to create objects that conform
895 to particular interfaces with very little code. You don't have to reimplement
896 the behavior, just the input and the output.")
897 (license perl-license)))
899 (define-public perl-test-mocktime
901 (name "perl-test-mocktime")
906 (uri (string-append "mirror://cpan/authors/id/D/DD/DDICK/"
907 "Test-MockTime-" version ".tar.gz"))
909 (base32 "1y820qsq7yf7r6smy5c6f0mpf2cis2q24vwmpim1svv0n8cf2qrk"))))
911 `(("perl-time-piece" ,perl-time-piece)))
912 (build-system perl-build-system)
913 (home-page "https://metacpan.org/release/Test-MockTime")
914 (synopsis "Replaces actual time with simulated time")
915 (description "This module was created to enable test suites to test code
916 at specific points in time. Specifically it overrides localtime, gmtime and
917 time at compile time and then relies on the user supplying a mock time via
918 set_relative_time, set_absolute_time or set_fixed_time to alter future calls
919 to gmtime,time or localtime.")
920 (license perl-license)))
922 (define-public perl-test-more-utf8
924 (name "perl-test-more-utf8")
930 "mirror://cpan/authors/id/M/MO/MONS/Test-More-UTF8-"
934 "016fs77lmw8xxrcnapvp6wq4hjwgsdfi3l9ylpxgxkcpdarw9wdr"))))
935 (build-system perl-build-system)
936 (home-page "https://metacpan.org/release/Test-More-UTF8")
937 (synopsis "Enhance Test::More for UTF8-based projects")
938 (description "@code{Test::More::UTF8} is a simple extension for the widely
939 used @code{Test::More} module. By default, it will do a @code{binmode
940 @code{:utf8}} on all of @code{Test::Builder}'s output handles thus enabling the
941 easy use flagged strings without warnings like \"Wide character in print
943 (license perl-license)))
945 (define-public perl-test-most
947 (name "perl-test-most")
952 (uri (string-append "mirror://cpan/authors/id/O/OV/OVID/"
953 "Test-Most-" version ".tar.gz"))
956 "0zv5dyzq55r28plffibcr7wd00abap0h2zh4s4p8snaiszsad5wq"))))
957 (build-system perl-build-system)
959 `(("perl-test-differences" ,perl-test-differences)
960 ("perl-test-warn" ,perl-test-warn)
961 ("perl-exception-class" ,perl-exception-class)
962 ("perl-test-deep" ,perl-test-deep)
963 ("perl-test-exception" ,perl-test-exception)))
964 (home-page "https://metacpan.org/release/Test-Most")
965 (synopsis "Most commonly needed test functions and features")
966 (description "This module provides the most commonly used testing
967 functions, along with automatically turning on strict and warning and gives a
968 bit more fine-grained control over test suites.")
969 (license perl-license)))
971 (define-public perl-test-needs
973 (name "perl-test-needs")
979 "mirror://cpan/authors/id/H/HA/HAARG/Test-Needs-"
984 "16gkgpmr9hvkz382iaqd3500269lk2d44fqaw3dsrvc66nc36kss"))))
985 (build-system perl-build-system)
987 "https://metacpan.org/release/Test-Needs")
989 "Skip tests when modules not available")
990 (description "@code{Test::Needs} allows you to skip test scripts if
991 modules are not available. The requested modules will be loaded, and
992 optionally have their versions checked. If the module is missing, the test
993 script will be skipped. Modules that are found but fail to compile will exit
994 with an error rather than skip.
996 If used in a subtest, the remainder of the subtest will be skipped.")
997 (license perl-license)))
999 (define-public perl-test-notabs
1001 (name "perl-test-notabs")
1007 "mirror://cpan/authors/id/E/ET/ETHER/Test-NoTabs-"
1012 "0c306p9qdpa2ycii3c50hml23mwy6bjxpry126g1dw11hyiwcxgv"))))
1013 (build-system perl-build-system)
1015 "https://metacpan.org/release/Test-NoTabs")
1017 "Check the presence of tabs in your project")
1019 "@code{Test::NoTabs} lets you check the presence of tabs in your perl
1021 (license perl-license)))
1023 (define-public perl-test-nowarnings
1025 (name "perl-test-nowarnings")
1029 (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
1030 "Test-NoWarnings-" version ".tar.gz"))
1033 "0v385ch0hzz9naqwdw2az3zdqi15gka76pmiwlgsy6diiijmg2k3"))))
1034 (build-system perl-build-system)
1035 (synopsis "Ensure no warnings are produced while testing")
1037 "This modules causes any warnings during testing to be captured and
1038 stored. It automatically adds an extra test that will run when your script
1039 ends to check that there were no warnings. If there were any warnings, the
1040 test will fail and output diagnostics of where, when and what the warning was,
1041 including a stack trace of what was going on when it occurred.")
1042 (home-page "https://metacpan.org/release/Test-NoWarnings")
1045 (define-public perl-test-number-delta
1047 (name "perl-test-number-delta")
1051 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
1052 "Test-Number-Delta-" version ".tar.gz"))
1055 "0jfhzhpzkc23mkrlbnv085ykpfncmy99hvppbzjnrpvgks8k0m2k"))))
1056 (build-system perl-build-system)
1057 (home-page "https://metacpan.org/release/Test-Number-Delta")
1059 "Compare the difference between numbers against a given tolerance")
1061 "At some point or another, most programmers find they need to compare
1062 floating-point numbers for equality. The typical idiom is to test if the
1063 absolute value of the difference of the numbers is within a desired tolerance,
1064 usually called epsilon. This module provides such a function for use with
1065 @code{Test::More}.")
1068 (define-public perl-test-object
1070 (name "perl-test-object")
1075 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1076 "Test-Object-" version ".tar.gz"))
1078 (base32 "1fyhn558kvla37fb60fzdr6kd2kfcxcmpr8884zk2dvq2ij8j9v5"))))
1079 (build-system perl-build-system)
1080 (home-page "https://metacpan.org/release/Test-Object")
1081 (synopsis "Thoroughly testing objects via registered handlers")
1083 "In situations where you have deep trees of classes,
1084 there is a common situation in which you test a module 4 or 5 subclasses down,
1085 which should follow the correct behaviour of not just the subclass, but of all
1088 This should be done to ensure that the implementation of a subclass has not
1089 somehow ``broken'' the object's behaviour in a more general sense.
1091 Test::Object is a testing package designed to allow you to easily test what
1092 you believe is a valid object against the expected behaviour of all of the
1093 classes in its inheritance tree in one single call.")
1094 (license perl-license)))
1096 (define-public perl-test-output
1098 (name "perl-test-output")
1102 (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/"
1103 "Test-Output-" version ".tar.gz"))
1106 "0vjm62c7g3xxs3h4lba55dnpr4pg71yrhkdg5b9glxdh80klia7n"))))
1107 (build-system perl-build-system)
1109 `(("perl-capture-tiny" ,perl-capture-tiny)
1110 ("perl-sub-exporter" ,perl-sub-exporter)))
1111 (synopsis "Utilities to test STDOUT and STDERR messages")
1113 "Test::Output provides a simple interface for testing output sent to
1114 STDOUT or STDERR. A number of different utilities are included to try and be
1115 as flexible as possible to the tester.")
1116 (home-page "https://metacpan.org/release/Test-Output")
1117 (license perl-license)))
1119 (define-public perl-test-pod
1121 (name "perl-test-pod")
1126 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1127 "Test-Pod-" version ".tar.gz"))
1130 "1z75x1pxwp8ajwq9iazlg2c3wd7rdlim08yclpdg32qnc36dpa30"))))
1131 (build-system perl-build-system)
1132 (native-inputs `(("perl-module-build" ,perl-module-build)))
1133 (home-page "https://metacpan.org/release/Test-Pod")
1134 (synopsis "Check for POD errors in files")
1135 (description "Check POD files for errors or warnings in a test file, using
1136 Pod::Simple to do the heavy lifting.")
1137 (license perl-license)))
1139 (define-public perl-test-pod-coverage
1141 (name "perl-test-pod-coverage")
1146 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
1147 "Test-Pod-Coverage-" version ".tar.gz"))
1150 "1m203mhgfilz7iqc8mxaw4lw02fz391mni3n25sfx7nryylwrja8"))))
1151 (build-system perl-build-system)
1153 `(("perl-pod-coverage" ,perl-pod-coverage)))
1154 (home-page "https://metacpan.org/release/Test-Pod-Coverage")
1155 (synopsis "Check for pod coverage")
1156 (description "This module adds a test to your Perl distribution which
1157 checks for pod coverage of all appropriate files.")
1158 (license artistic2.0)))
1160 (define-public perl-test-requires
1162 (name "perl-test-requires")
1167 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
1168 "Test-Requires-" version ".tar.gz"))
1171 "03q49vi09b4n31kpnmq4v2dga5ja438a8f1wgkgwvvlpjmadx22b"))))
1172 (build-system perl-build-system)
1173 (home-page "https://metacpan.org/release/Test-Requires")
1174 (synopsis "Checks to see if the module can be loaded")
1175 (description "Test::Requires checks to see if the module can be loaded.
1176 If this fails, then rather than failing tests this skips all tests.")
1177 (license perl-license)))
1179 (define-public perl-test-requiresinternet
1181 (name "perl-test-requiresinternet")
1187 "mirror://cpan/authors/id/M/MA/MALLEN/Test-RequiresInternet-"
1192 "0gl33vpj9bb78pzyijp884b66sbw6jkh1ci0xki8rmf03hmb79xv"))))
1193 (build-system perl-build-system)
1194 (home-page "https://metacpan.org/release/Test-RequiresInternet")
1195 (synopsis "Easily test network connectivity when running tests")
1197 "This Perl module is intended to easily test network connectivity to
1198 non-local Internet resources before functional tests begin. If the sockets
1199 cannot connect to the specified hosts and ports, the exception is caught and
1200 reported, and the tests skipped.")
1201 (license perl-license)))
1203 (define-public perl-test-roo
1205 (name "perl-test-roo")
1211 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-Roo-"
1215 "1mnym49j1lj7gzylma5b6nr4vp75rmgz2v71904v01xmxhy9l4i1"))))
1216 (build-system perl-build-system)
1218 `(("perl-capture-tiny" ,perl-capture-tiny)))
1220 `(("perl-indirect" ,perl-indirect)
1221 ("perl-moo" ,perl-moo)
1222 ("perl-moox-types-mooselike" ,perl-moox-types-mooselike)
1223 ("perl-multidimensional" ,perl-multidimensional)
1224 ("perl-strictures" ,perl-strictures)
1225 ("perl-sub-install" ,perl-sub-install)))
1226 (home-page "https://metacpan.org/release/Test-Roo")
1227 (synopsis "Composable, reusable tests with roles and Moo")
1228 (description "Test::Roo provides composable, reusable tests with roles.")
1231 (define-public perl-test-runvalgrind
1233 (name "perl-test-runvalgrind")
1239 "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-RunValgrind-"
1243 (base32 "1vm5iw5sy0mhjjypaaviil9qgqixmkaghdbjbcyb4lf2mm6d24v9"))))
1244 (build-system perl-build-system)
1246 `(("perl-module-build" ,perl-module-build)))
1248 `(("perl-path-tiny" ,perl-path-tiny)
1249 ("perl-test-trap" ,perl-test-trap)
1250 ("valgrind" ,valgrind)))
1251 (home-page "https://metacpan.org/release/Test-RunValgrind")
1252 (synopsis "Tests that an external program is valgrind-clean")
1253 (description "Test::RunValgind checks weather Valgrind does not detect
1254 errors (such as memory leaks) in an arbitrary binary executable.")
1257 (define-public perl-test-script
1259 (name "perl-test-script")
1263 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
1264 "Test-Script-" version ".tar.gz"))
1267 "1msavbi6przkxq3npm90nv925v58iym9jrk677wn46x19whwzwzm"))))
1268 (build-system perl-build-system)
1270 `(("perl-capture-tiny" ,perl-capture-tiny)
1271 ("perl-probe-perl" ,perl-probe-perl)))
1272 (synopsis "Basic cross-platform tests for scripts")
1274 "The intent of the Test::Script module is to provide a series of basic
1275 tests for 80% of the testing you will need to do for scripts in the script (or
1276 bin as is also commonly used) paths of your Perl distribution.")
1277 (home-page "https://metacpan.org/release/Test-Script")
1278 (license perl-license)))
1280 (define-public perl-test-sharedfork
1282 (name "perl-test-sharedfork")
1287 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1288 "Test-SharedFork-" version ".tar.gz"))
1290 (base32 "17y52j20k1bs9dgf4n6rhh9dn4cfxxbnfn2cfs7pb00fc5jyhci9"))))
1291 (build-system perl-build-system)
1293 `(("perl-test-requires" ,perl-test-requires)))
1294 (home-page "https://metacpan.org/release/Test-SharedFork")
1295 (synopsis "Fork test in Perl")
1296 (description "Test::SharedFork is a utility module for Test::Builder. It
1297 makes fork(2) safe to use in test cases.")
1298 (license perl-license)))
1300 (define-public perl-test-simple
1302 (name "perl-test-simple")
1303 (version "1.302183")
1306 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1307 "Test-Simple-" version ".tar.gz"))
1310 "1zq6841yrwxmrmhgzmzx0njlymsv9mzl6l5njabfl2j2xjjvs0ws"))))
1311 (build-system perl-build-system)
1312 (synopsis "Basic utilities for writing tests")
1314 "Test::Simple contains basic utilities for writing tests.")
1315 (home-page "https://metacpan.org/release/Test-Simple")
1316 (license perl-license)))
1318 (define-public perl-test-subcalls
1320 (name "perl-test-subcalls")
1325 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1326 "Test-SubCalls-" version ".tar.gz"))
1328 (base32 "1hmnv9nkdzyrr6yis0dnkf4lk0hwld3zapiyq7mizrq5barykhfb"))))
1329 (build-system perl-build-system)
1331 `(("perl-hook-lexwrap" ,perl-hook-lexwrap)))
1332 (home-page "https://metacpan.org/release/Test-SubCalls")
1333 (synopsis "Track the number of times subs are called")
1335 "There are a number of different situations (like testing caching
1336 code) where you want to want to do a number of tests, and then verify
1337 that some underlying subroutine deep within the code was called
1338 a specific number of times.
1340 Test::SubCalls module provides a number of functions for doing testing
1341 in this way in association with your normal Test::More (or similar)
1343 (license perl-license)))
1345 (define-public perl-test-taint
1347 (name "perl-test-taint")
1352 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Taint-"
1356 "0zd946qam0yffpciqqd9xhn92gdplyh3mii4a1w96b1max14snax"))))
1357 (build-system perl-build-system)
1358 (home-page "https://metacpan.org/release/Test-Taint")
1359 (synopsis "Checks for taintedness of variables")
1360 (description "Tainted data is data that comes from an unsafe source, such
1361 as the command line, or, in the case of web apps, any @code{GET} or
1362 @code{POST} transactions. Read the @code{perlsec} man page for details on why
1363 tainted data is bad, and how to untaint the data.
1365 When you're writing unit tests for code that deals with tainted data, you'll
1366 want to have a way to provide tainted data for your routines to handle, and
1367 easy ways to check and report on the taintedness of your data, in standard
1368 @code{Test::More} style.")
1369 (license perl-license)))
1371 (define-public perl-test-tester
1373 (name "perl-test-tester")
1377 (uri (string-append "mirror://cpan/authors/id/F/FD/FDALY/"
1378 "Test-Tester-" version ".tar.gz"))
1381 "0m9n28z09kq455r5nydj1bnr85lvmbfpcbjdkjfbpmfb5xgciiyk"))))
1382 (build-system perl-build-system)
1383 (synopsis "Simplify running Test::Builder tests")
1385 "Test::Tester allows testing of test modules based on Test::Builder with
1386 a minimum of effort.")
1387 (home-page "https://metacpan.org/release/FDALY/Test-Tester-0.109")
1388 (license perl-license)))
1390 (define-public perl-test-perltidy
1392 (name "perl-test-perltidy")
1393 (version "20130104")
1398 "mirror://cpan/authors/id/L/LA/LARRYL/Test-PerlTidy-"
1402 "1j5rsb4km9rzcbd1ljavj8vm42bmilji40v2jj2k87l1ykrxj59z"))))
1403 (build-system perl-build-system)
1405 `(("perl-file-finder" ,perl-file-finder)
1406 ("perl-file-slurp" ,perl-file-slurp)
1407 ("perltidy" ,perltidy)
1408 ("perl-text-diff" ,perl-text-diff)))
1409 (home-page "https://metacpan.org/release/Test-PerlTidy")
1410 (synopsis "Check that all your Perl files are tidy")
1412 "Using @code{Test::PerlTidy}, any file ending in .pl, .pm, .t or .PL will
1413 cause a test fail unless it is exactly as @code{perltidy} would like it to be.")
1414 (license perl-license)))
1416 (define-public perl-test-trap
1418 (name "perl-test-trap")
1423 (uri (string-append "mirror://cpan/authors/id/E/EB/EBHANSSEN/"
1424 "Test-Trap-v" version ".tar.gz"))
1426 (base32 "1qjs2080kcc66s4d7499br5lw2qmhr9gxky4xsl6vjdn6dpna10b"))))
1427 (build-system perl-build-system)
1429 `(("perl-module-build" ,perl-module-build)
1430 ("perl-test-simple" ,perl-test-simple)))
1432 `(("perl-data-dump" ,perl-data-dump)))
1433 (home-page "https://metacpan.org/release/Test-Trap")
1434 (synopsis "Trap exit codes, exceptions, output, and so on")
1435 (description "This module is primarily (but not exclusively) for use in
1436 test scripts: A block eval configurable and extensible but by default trapping
1437 STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values
1438 from boxed blocks of test code.")
1439 (license perl-license)))
1441 (define-public perl-test-utf8
1443 (name "perl-test-utf8")
1448 (uri (string-append "mirror://cpan/authors/id/M/MA/MARKF/"
1449 "Test-utf8-" version ".tar.gz"))
1451 (base32 "1mwbdgbbzm54v7wdw3l80bk73lr4z9i8274zlhjhp0s0b6fg10nz"))))
1452 (build-system perl-build-system)
1454 `(("perl-module-install" ,perl-module-install)))
1455 (home-page "https://metacpan.org/release/Test-utf8")
1456 (synopsis "UTF-8 testing in Perl")
1457 (description "This module is a collection of tests useful for dealing with
1458 UTF-8 strings in Perl. This module has two types of tests: The validity tests
1459 check if a string is valid and not corrupt, whereas the characteristics tests
1460 will check that string has a given set of characteristics.")
1461 (license perl-license)))
1463 (define-public perl-test-version
1465 (name "perl-test-version")
1471 "mirror://cpan/authors/id/P/PL/PLICEASE/Test-Version-"
1476 "1q1qradaf7r2rb3jhpv01wl8z3bxymkfqrl9gwdhxwx5jwldvqcw"))))
1477 (build-system perl-build-system)
1479 `(("perl-test-exception" ,perl-test-exception)))
1481 `(("perl-file-find-rule-perl" ,perl-file-find-rule-perl)))
1482 (home-page "https://metacpan.org/release/Test-Version")
1483 (synopsis "Check versions in modules")
1485 "@code{Test::Version} checks to ensure that all modules have a version
1486 defined, and that the version is valid.")
1487 (license artistic2.0)))
1489 (define-public perl-test-warn
1491 (name "perl-test-warn")
1496 (uri (string-append "mirror://cpan/authors/id/B/BI/BIGJ/"
1497 "Test-Warn-" version ".tar.gz"))
1500 "1nkc7jzxff0w4x9axbpsgxrksqdjnf70rb74q39zikkrsd3a7g7c"))))
1501 (build-system perl-build-system)
1503 `(("perl-sub-uplevel" ,perl-sub-uplevel)))
1504 (home-page "https://metacpan.org/release/Test-Warn")
1505 (synopsis "Perl extension to test methods for warnings")
1506 (description "This module provides a few convenience methods for testing
1507 warning based code.")
1508 (license perl-license)))
1510 (define-public perl-test-warnings
1512 (name "perl-test-warnings")
1517 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1518 "Test-Warnings-" version ".tar.gz"))
1521 "0kz2daardmr2i5vg7g3h0cvw9xnp6d25hx92280swr0mvxyr9949"))))
1522 (build-system perl-build-system)
1523 (home-page "https://metacpan.org/release/Test-Warnings")
1524 (synopsis "Test for warnings and the lack of them")
1525 (description "This module is intended to be used as a drop-in replacement
1526 for Test::NoWarnings. It also adds an extra test, but runs this test before
1527 done_testing calculates the test count, rather than after. It does this by
1528 hooking into done_testing as well as via an END block. You can declare a
1529 plan, or not, and things will still Just Work.")
1530 (license perl-license)))
1532 (define-public perl-test-without-module
1534 (name "perl-test-without-module")
1539 (uri (string-append "mirror://cpan/authors/id/C/CO/CORION/"
1540 "Test-Without-Module-" version ".tar.gz"))
1543 "0955ib9cz1naz7a2v6lx78kj29q7ihmdn51im6wd1im669yfp6lf"))))
1544 (build-system perl-build-system)
1545 (home-page "https://metacpan.org/release/Test-Without-Module")
1546 (synopsis "Test fallback behaviour in absence of modules")
1547 (description "This module allows you to deliberately hide modules from a
1548 program even though they are installed. This is mostly useful for testing
1549 modules that have a fallback when a certain dependency module is not
1551 (license perl-license)))
1553 (define-public perl-test-writevariants
1555 (name "perl-test-writevariants")
1560 (uri (string-append "mirror://cpan/authors/id/R/RE/REHSACK/"
1561 "Test-WriteVariants-" version ".tar.gz"))
1563 (base32 "11v4j3607bydxsqy2ylx9w6qr3qxcalfx3mdc4q4ccqmxsyw4jb3"))))
1564 (build-system perl-build-system)
1566 `(("perl-test-most" ,perl-test-most)
1567 ("perl-test-directory" ,perl-test-directory)))
1569 `(("perl-data-tumbler" ,perl-data-tumbler)
1570 ("perl-file-homedir" ,perl-file-homedir)
1571 ("perl-module-pluggable" ,perl-module-pluggable)
1572 ("perl-module-runtime" ,perl-module-runtime)))
1573 (home-page "https://metacpan.org/release/Test-WriteVariants")
1574 (synopsis "Dynamic generation of tests")
1575 (description "The Test::WriteVariants module provides for the dynamic
1576 generation of tests in nested combinations of contexts.")
1577 (license perl-license))) ; see LICENSE
1579 (define-public perl-test-yaml
1581 (name "perl-test-yaml")
1586 (uri (string-append "mirror://cpan/authors/id/T/TI/TINITA/"
1587 "Test-YAML-" version ".tar.gz"))
1589 (base32 "0pwrrnwi1qaiy3c5522vy0kzncxc9g02r4b056wqqaa69w1hsc0z"))))
1590 (build-system perl-build-system)
1592 `(("perl-test-base" ,perl-test-base)))
1593 (home-page "https://metacpan.org/release/Test-YAML")
1594 (synopsis "Testing module for YAML implementations")
1595 (description "Test::YAML is a subclass of Test::Base with YAML specific
1597 (license perl-license)))
1599 (define-public perl-test-trailingspace
1601 (name "perl-test-trailingspace")
1607 "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-TrailingSpace-"
1612 "04aszaw4n3sra7n7sq2cj4wjjvfghia9zqi47aj00ry0vqx2d7gh"))))
1613 (build-system perl-build-system)
1615 `(("perl-module-build" ,perl-module-build)
1616 ("perl-file-find-object" ,perl-file-find-object)
1617 ("perl-class-xsaccessor" ,perl-class-xsaccessor)))
1619 `(("perl-file-find-object-rule" ,perl-file-find-object-rule)
1620 ("perl-text-glob" ,perl-text-glob)
1621 ("perl-number-compare" ,perl-number-compare)))
1623 "https://metacpan.org/release/Test-TrailingSpace")
1625 "Test for trailing space in Perl source files")
1626 (description "Test::TrailingSpace tests for trailing spaces
1627 in Perl source files.")