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 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, 2018, 2019, 2020 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-"
600 "1mdwb3x8d4l24wsymamsnq2c73a637v4q5kmb5xqqz31iymsdd31"))))
601 (build-system perl-build-system)
603 `(("perl-test-utf8" ,perl-test-utf8)))
604 (home-page "https://metacpan.org/release/Test-File")
605 (synopsis "Utilities for testing file attributes")
607 "@code{Test::File} provides a collection of test utilities for file
609 (license perl-license)))
611 (define-public perl-test-file-contents
613 (name "perl-test-file-contents")
619 "mirror://cpan/authors/id/D/DW/DWHEELER/Test-File-Contents-"
624 "0g8zgfyw84181snw7ghahnl9r4lrmlfj7zwi76sv8d0bj7xssvyd"))))
625 (build-system perl-build-system)
627 `(("perl-module-build" ,perl-module-build)))
629 `(("perl-test-pod" ,perl-test-pod)
630 ("perl-test-pod-coverage" ,perl-test-pod-coverage)
631 ("perl-text-diff" ,perl-text-diff)))
632 (home-page "https://metacpan.org/release/Test-File-Contents")
633 (synopsis "Test routines for examining the contents of files")
635 "@{Test::File::Contents} provides functions for testing the contents of
637 (license perl-license)))
639 (define-public perl-test-file-sharedir-dist
641 (name "perl-test-file-sharedir-dist")
646 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
647 "Test-File-ShareDir-" version ".tar.gz"))
650 "1bbs6cx69wcinq77gif4i4pmrj8a7lwb92sgvvxzrwmjnk5lfdmk"))))
651 (build-system perl-build-system)
653 `(("perl-class-tiny" ,perl-class-tiny)
654 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
655 ("perl-file-sharedir" ,perl-file-sharedir)
656 ("perl-path-tiny" ,perl-path-tiny)
657 ("perl-scope-guard" ,perl-scope-guard)
658 ("perl-test-fatal" ,perl-test-fatal)))
659 (home-page "https://github.com/kentnl/Test-File-ShareDir")
660 (synopsis "Dist oriented ShareDir tester")
661 (description "This module creates a Fake ShareDir for your modules
663 (license perl-license)))
665 (define-public perl-test-filename
667 (name "perl-test-filename")
673 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-Filename-"
677 "1gpw4mjw68gnby8s4cifvbz6g2923xsc189jkw9d27i8qv20qiba"))))
678 (build-system perl-build-system)
680 `(("perl-path-tiny" ,perl-path-tiny)))
681 (home-page "https://metacpan.org/release/Test-Filename")
682 (synopsis "Portable filename comparison")
683 (description "Test::Filename provides functions to convert all path
684 separators automatically.")
687 (define-public perl-test-files
689 (name "perl-test-files")
695 "mirror://cpan/authors/id/P/PH/PHILCROW/Test-Files-"
700 "1zn33yigznq7i1jr4yjr4lxvc6bn7znkbqdzj7slhc146pqapkln"))))
701 (build-system perl-build-system)
703 `(("perl-algorithm-diff" ,perl-algorithm-diff)
704 ("perl-text-diff" ,perl-text-diff)))
705 (home-page "https://metacpan.org/release/Test-Files")
706 (synopsis "Ease software testing with files and directories")
707 (description "This library provides functions to enable testing of files
708 and directories. For instance, the @code{file_ok} helper can test whether the
709 contents of a file is equal to a particular string.")
710 (license perl-license)))
712 (define-public perl-test-harness
714 (name "perl-test-harness")
719 (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/"
720 "Test-Harness-" version ".tar.gz"))
722 (base32 "0lwfaamhpqia0ks4pcci83xbqz6jhng7acv95qk6wbd8zr70vn8g"))))
723 (build-system perl-build-system)
726 (modify-phases %standard-phases
727 (add-before 'check 'patch-test
728 (lambda* (#:key inputs #:allow-other-keys)
729 ;; This test looks for "#!/usr/bin/perl" in some source.
730 ;; Patch what the test looks for.
731 (substitute* "t/source.t"
733 (string-append "#!" (assoc-ref inputs "perl")
736 (home-page "https://metacpan.org/release/Test-Harness")
737 (synopsis "Run Perl standard test scripts with statistics")
738 (description "Simple test harness which allows tests to be run and results
739 automatically aggregated and output to STDOUT.")
740 (license perl-license)))
742 (define-public perl-test-leaktrace
744 (name "perl-test-leaktrace")
749 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
750 "Test-LeakTrace-" version ".tar.gz"))
753 "00z4hcjra5nk700f3fgpy8fs036d7ry7glpn8g3wh7jzj7nrw22z"))))
754 (build-system perl-build-system)
755 (home-page "https://metacpan.org/release/Test-LeakTrace")
756 (synopsis "Traces memory leaks in Perl")
757 (description "Test::LeakTrace provides several functions that trace memory
758 leaks. This module scans arenas, the memory allocation system, so it can
759 detect any leaked SVs in given blocks.")
760 (license perl-license)))
762 (define-public perl-test-longstring
764 (name "perl-test-longstring")
769 (uri (string-append "mirror://cpan/authors/id/R/RG/RGARCIA/"
770 "Test-LongString-" version ".tar.gz"))
773 "0kwp7rfr1i2amz4ckigkv13ah7jr30q6l5k4wk0vxl84myg39i5b"))))
774 (build-system perl-build-system)
775 (home-page "https://metacpan.org/release/Test-LongString")
776 (synopsis "Tests strings for equality, with more helpful failures")
777 (description "This module provides some drop-in replacements for the
778 string comparison functions of Test::More, but which are more suitable when
779 you test against long strings.")
780 (license perl-license)))
782 (define-public perl-test-manifest
784 (name "perl-test-manifest")
788 (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/"
789 "Test-Manifest-" version ".tar.gz"))
792 "1n9jscnni24sbp4v5gjlcy3iknfwvmy0731xwvk1c3jq3kbslym4"))))
793 (build-system perl-build-system)
795 `(("perl-test-pod" ,perl-test-pod)
796 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
797 (home-page "https://metacpan.org/release/Test-Manifest")
798 (synopsis "Interact with a t/test_manifest file")
799 (description "@code{Test::Manifest} overrides the default test file order. Instead of
800 running all of the t/*.t files in ASCII-betical order, it looks in the t/test_manifest
801 file to find out which tests you want to run and the order in which you want to run them.
802 It constructs the right value for the build system to do the right thing.")
803 (license perl-license)))
805 (define-public perl-test-memory-cycle
807 (name "perl-test-memory-cycle")
813 "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-"
818 "00ijmgx1r3cxrcs1qa9rb2s4gbm3nsawd90drda89kb4r7yxslwx"))))
819 (build-system perl-build-system)
821 `(("perl-padwalker" ,perl-padwalker)))
823 `(("perl-devel-cycle" ,perl-devel-cycle)))
825 "https://metacpan.org/release/Test-Memory-Cycle")
827 "Verifies code hasn't left circular references")
829 "@code{Test::Memory::Cycle} is built on top of @code{Devel::Cycle} to
830 give you an easy way to check for these circular references.
833 use Test::Memory::Cycle;
835 my $object = new MyObject;
836 # Do stuff with the object.
837 memory_cycle_ok( $object );
839 (license artistic2.0)))
841 (define-public perl-test-mockmodule
843 (name "perl-test-mockmodule")
848 (uri (string-append "mirror://cpan/authors/id/G/GF/GFRANKS/"
849 "Test-MockModule-v" version ".tar.gz"))
851 (base32 "1arqgb1773zym5dqlwm6kz48bfrccjhb5bjfsif0vkalwq2gvm7b"))))
852 (build-system perl-build-system)
854 `(("perl-module-build" ,perl-module-build)
856 ("perl-test-pod" ,perl-test-pod)
857 ("perl-test-pod-coverage" ,perl-test-pod-coverage)
858 ("perl-test-warnings" ,perl-test-warnings)))
860 `(("perl-super" ,perl-super)))
861 (home-page "https://metacpan.org/release/Test-MockModule")
862 (synopsis "Override subroutines in a module for unit testing")
864 "@code{Test::MockModule} lets you temporarily redefine subroutines in other
865 packages for the purposes of unit testing. A @code{Test::MockModule} object is
866 set up to mock subroutines for a given module. The mocked object remembers the
867 original subroutine so it can be easily restored. This happens automatically
868 when all @code{MockModule} objects for the given module go out of scope, or when
869 you @code{unmock()} the subroutine.")
872 (define-public perl-test-mockobject
874 (name "perl-test-mockobject")
875 (version "1.20191002")
879 (uri (string-append "mirror://cpan/authors/id/C/CH/CHROMATIC/"
880 "Test-MockObject-" version ".tar.gz"))
882 (base32 "160r36j727hw6syazh6sfq862f95dp1zcga0nil7cjlry77lqsn7"))))
883 (build-system perl-build-system)
885 `(("perl-cgi" ,perl-cgi)
886 ("perl-test-exception" ,perl-test-exception)
887 ("perl-test-warn" ,perl-test-warn)))
889 `(("perl-test-exception" ,perl-test-exception)
890 ("perl-test-warn" ,perl-test-warn)
891 ("perl-universal-can" ,perl-universal-can)
892 ("perl-universal-isa" ,perl-universal-isa)))
893 (home-page "https://metacpan.org/release/Test-MockObject")
894 (synopsis "Emulate troublesome interfaces in Perl")
895 (description "Test::MockObject allows you to create objects that conform
896 to particular interfaces with very little code. You don't have to reimplement
897 the behavior, just the input and the output.")
898 (license perl-license)))
900 (define-public perl-test-mocktime
902 (name "perl-test-mocktime")
907 (uri (string-append "mirror://cpan/authors/id/D/DD/DDICK/"
908 "Test-MockTime-" version ".tar.gz"))
910 (base32 "1y820qsq7yf7r6smy5c6f0mpf2cis2q24vwmpim1svv0n8cf2qrk"))))
912 `(("perl-time-piece" ,perl-time-piece)))
913 (build-system perl-build-system)
914 (home-page "https://metacpan.org/release/Test-MockTime")
915 (synopsis "Replaces actual time with simulated time")
916 (description "This module was created to enable test suites to test code
917 at specific points in time. Specifically it overrides localtime, gmtime and
918 time at compile time and then relies on the user supplying a mock time via
919 set_relative_time, set_absolute_time or set_fixed_time to alter future calls
920 to gmtime,time or localtime.")
921 (license perl-license)))
923 (define-public perl-test-more-utf8
925 (name "perl-test-more-utf8")
931 "mirror://cpan/authors/id/M/MO/MONS/Test-More-UTF8-"
935 "016fs77lmw8xxrcnapvp6wq4hjwgsdfi3l9ylpxgxkcpdarw9wdr"))))
936 (build-system perl-build-system)
937 (home-page "https://metacpan.org/release/Test-More-UTF8")
938 (synopsis "Enhance Test::More for UTF8-based projects")
939 (description "@code{Test::More::UTF8} is a simple extension for the widely
940 used @code{Test::More} module. By default, it will do a @code{binmode
941 @code{:utf8}} on all of @code{Test::Builder}'s output handles thus enabling the
942 easy use flagged strings without warnings like \"Wide character in print
944 (license perl-license)))
946 (define-public perl-test-most
948 (name "perl-test-most")
953 (uri (string-append "mirror://cpan/authors/id/O/OV/OVID/"
954 "Test-Most-" version ".tar.gz"))
957 "0zv5dyzq55r28plffibcr7wd00abap0h2zh4s4p8snaiszsad5wq"))))
958 (build-system perl-build-system)
960 `(("perl-test-differences" ,perl-test-differences)
961 ("perl-test-warn" ,perl-test-warn)
962 ("perl-exception-class" ,perl-exception-class)
963 ("perl-test-deep" ,perl-test-deep)
964 ("perl-test-exception" ,perl-test-exception)))
965 (home-page "https://metacpan.org/release/Test-Most")
966 (synopsis "Most commonly needed test functions and features")
967 (description "This module provides the most commonly used testing
968 functions, along with automatically turning on strict and warning and gives a
969 bit more fine-grained control over test suites.")
970 (license perl-license)))
972 (define-public perl-test-needs
974 (name "perl-test-needs")
980 "mirror://cpan/authors/id/H/HA/HAARG/Test-Needs-"
985 "16gkgpmr9hvkz382iaqd3500269lk2d44fqaw3dsrvc66nc36kss"))))
986 (build-system perl-build-system)
988 "https://metacpan.org/release/Test-Needs")
990 "Skip tests when modules not available")
991 (description "@code{Test::Needs} allows you to skip test scripts if
992 modules are not available. The requested modules will be loaded, and
993 optionally have their versions checked. If the module is missing, the test
994 script will be skipped. Modules that are found but fail to compile will exit
995 with an error rather than skip.
997 If used in a subtest, the remainder of the subtest will be skipped.")
998 (license perl-license)))
1000 (define-public perl-test-notabs
1002 (name "perl-test-notabs")
1008 "mirror://cpan/authors/id/E/ET/ETHER/Test-NoTabs-"
1013 "0c306p9qdpa2ycii3c50hml23mwy6bjxpry126g1dw11hyiwcxgv"))))
1014 (build-system perl-build-system)
1016 "https://metacpan.org/release/Test-NoTabs")
1018 "Check the presence of tabs in your project")
1020 "@code{Test::NoTabs} lets you check the presence of tabs in your perl
1022 (license perl-license)))
1024 (define-public perl-test-nowarnings
1026 (name "perl-test-nowarnings")
1030 (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
1031 "Test-NoWarnings-" version ".tar.gz"))
1034 "0v385ch0hzz9naqwdw2az3zdqi15gka76pmiwlgsy6diiijmg2k3"))))
1035 (build-system perl-build-system)
1036 (synopsis "Ensure no warnings are produced while testing")
1038 "This modules causes any warnings during testing to be captured and
1039 stored. It automatically adds an extra test that will run when your script
1040 ends to check that there were no warnings. If there were any warnings, the
1041 test will fail and output diagnostics of where, when and what the warning was,
1042 including a stack trace of what was going on when it occurred.")
1043 (home-page "https://metacpan.org/release/Test-NoWarnings")
1046 (define-public perl-test-number-delta
1048 (name "perl-test-number-delta")
1052 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
1053 "Test-Number-Delta-" version ".tar.gz"))
1056 "0jfhzhpzkc23mkrlbnv085ykpfncmy99hvppbzjnrpvgks8k0m2k"))))
1057 (build-system perl-build-system)
1058 (home-page "https://metacpan.org/release/Test-Number-Delta")
1060 "Compare the difference between numbers against a given tolerance")
1062 "At some point or another, most programmers find they need to compare
1063 floating-point numbers for equality. The typical idiom is to test if the
1064 absolute value of the difference of the numbers is within a desired tolerance,
1065 usually called epsilon. This module provides such a function for use with
1066 @code{Test::More}.")
1069 (define-public perl-test-object
1071 (name "perl-test-object")
1076 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1077 "Test-Object-" version ".tar.gz"))
1079 (base32 "1fyhn558kvla37fb60fzdr6kd2kfcxcmpr8884zk2dvq2ij8j9v5"))))
1080 (build-system perl-build-system)
1081 (home-page "https://metacpan.org/release/Test-Object")
1082 (synopsis "Thoroughly testing objects via registered handlers")
1084 "In situations where you have deep trees of classes,
1085 there is a common situation in which you test a module 4 or 5 subclasses down,
1086 which should follow the correct behaviour of not just the subclass, but of all
1089 This should be done to ensure that the implementation of a subclass has not
1090 somehow ``broken'' the object's behaviour in a more general sense.
1092 Test::Object is a testing package designed to allow you to easily test what
1093 you believe is a valid object against the expected behaviour of all of the
1094 classes in its inheritance tree in one single call.")
1095 (license perl-license)))
1097 (define-public perl-test-output
1099 (name "perl-test-output")
1103 (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/"
1104 "Test-Output-" version ".tar.gz"))
1107 "193y1xjvgc1p9pdgdwps2127knvpz9wc1xh6gmr74y3ihmqz7f7q"))))
1108 (build-system perl-build-system)
1110 `(("perl-capture-tiny" ,perl-capture-tiny)
1111 ("perl-sub-exporter" ,perl-sub-exporter)))
1112 (synopsis "Utilities to test STDOUT and STDERR messages")
1114 "Test::Output provides a simple interface for testing output sent to
1115 STDOUT or STDERR. A number of different utilities are included to try and be
1116 as flexible as possible to the tester.")
1117 (home-page "https://metacpan.org/release/Test-Output")
1118 (license perl-license)))
1120 (define-public perl-test-pod
1122 (name "perl-test-pod")
1127 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1128 "Test-Pod-" version ".tar.gz"))
1131 "1z75x1pxwp8ajwq9iazlg2c3wd7rdlim08yclpdg32qnc36dpa30"))))
1132 (build-system perl-build-system)
1133 (native-inputs `(("perl-module-build" ,perl-module-build)))
1134 (home-page "https://metacpan.org/release/Test-Pod")
1135 (synopsis "Check for POD errors in files")
1136 (description "Check POD files for errors or warnings in a test file, using
1137 Pod::Simple to do the heavy lifting.")
1138 (license perl-license)))
1140 (define-public perl-test-pod-coverage
1142 (name "perl-test-pod-coverage")
1147 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
1148 "Test-Pod-Coverage-" version ".tar.gz"))
1151 "1m203mhgfilz7iqc8mxaw4lw02fz391mni3n25sfx7nryylwrja8"))))
1152 (build-system perl-build-system)
1154 `(("perl-pod-coverage" ,perl-pod-coverage)))
1155 (home-page "https://metacpan.org/release/Test-Pod-Coverage")
1156 (synopsis "Check for pod coverage")
1157 (description "This module adds a test to your Perl distribution which
1158 checks for pod coverage of all appropriate files.")
1159 (license artistic2.0)))
1161 (define-public perl-test-requires
1163 (name "perl-test-requires")
1168 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
1169 "Test-Requires-" version ".tar.gz"))
1172 "1d9f481lj12cw1ciil46xq9nq16p6a90nm7yrsalpf8asn8s6s17"))))
1173 (build-system perl-build-system)
1174 (home-page "https://metacpan.org/release/Test-Requires")
1175 (synopsis "Checks to see if the module can be loaded")
1176 (description "Test::Requires checks to see if the module can be loaded.
1177 If this fails, then rather than failing tests this skips all tests.")
1178 (license perl-license)))
1180 (define-public perl-test-requiresinternet
1182 (name "perl-test-requiresinternet")
1188 "mirror://cpan/authors/id/M/MA/MALLEN/Test-RequiresInternet-"
1193 "0gl33vpj9bb78pzyijp884b66sbw6jkh1ci0xki8rmf03hmb79xv"))))
1194 (build-system perl-build-system)
1195 (home-page "https://metacpan.org/release/Test-RequiresInternet")
1196 (synopsis "Easily test network connectivity when running tests")
1198 "This Perl module is intended to easily test network connectivity to
1199 non-local Internet resources before functional tests begin. If the sockets
1200 cannot connect to the specified hosts and ports, the exception is caught and
1201 reported, and the tests skipped.")
1202 (license perl-license)))
1204 (define-public perl-test-roo
1206 (name "perl-test-roo")
1212 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-Roo-"
1216 "1mnym49j1lj7gzylma5b6nr4vp75rmgz2v71904v01xmxhy9l4i1"))))
1217 (build-system perl-build-system)
1219 `(("perl-capture-tiny" ,perl-capture-tiny)))
1221 `(("perl-indirect" ,perl-indirect)
1222 ("perl-moo" ,perl-moo)
1223 ("perl-moox-types-mooselike" ,perl-moox-types-mooselike)
1224 ("perl-multidimensional" ,perl-multidimensional)
1225 ("perl-strictures" ,perl-strictures)
1226 ("perl-sub-install" ,perl-sub-install)))
1227 (home-page "https://metacpan.org/release/Test-Roo")
1228 (synopsis "Composable, reusable tests with roles and Moo")
1229 (description "Test::Roo provides composable, reusable tests with roles.")
1232 (define-public perl-test-runvalgrind
1234 (name "perl-test-runvalgrind")
1240 "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-RunValgrind-"
1244 (base32 "175hlycrhgwrp7j4rwx5bk4fd6775242wjdqv107rvgsrszsi915"))))
1245 (build-system perl-build-system)
1247 `(("perl-module-build" ,perl-module-build)))
1249 `(("perl-path-tiny" ,perl-path-tiny)
1250 ("perl-test-trap" ,perl-test-trap)
1251 ("valgrind" ,valgrind)))
1252 (home-page "https://metacpan.org/release/Test-RunValgrind")
1253 (synopsis "Tests that an external program is valgrind-clean")
1254 (description "Test::RunValgind checks weather Valgrind does not detect
1255 errors (such as memory leaks) in an arbitrary binary executable.")
1258 (define-public perl-test-script
1260 (name "perl-test-script")
1264 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
1265 "Test-Script-" version ".tar.gz"))
1268 "1msavbi6przkxq3npm90nv925v58iym9jrk677wn46x19whwzwzm"))))
1269 (build-system perl-build-system)
1271 `(("perl-capture-tiny" ,perl-capture-tiny)
1272 ("perl-probe-perl" ,perl-probe-perl)))
1273 (synopsis "Basic cross-platform tests for scripts")
1275 "The intent of the Test::Script module is to provide a series of basic
1276 tests for 80% of the testing you will need to do for scripts in the script (or
1277 bin as is also commonly used) paths of your Perl distribution.")
1278 (home-page "https://metacpan.org/release/Test-Script")
1279 (license perl-license)))
1281 (define-public perl-test-sharedfork
1283 (name "perl-test-sharedfork")
1288 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1289 "Test-SharedFork-" version ".tar.gz"))
1291 (base32 "17y52j20k1bs9dgf4n6rhh9dn4cfxxbnfn2cfs7pb00fc5jyhci9"))))
1292 (build-system perl-build-system)
1294 `(("perl-test-requires" ,perl-test-requires)))
1295 (home-page "https://metacpan.org/release/Test-SharedFork")
1296 (synopsis "Fork test in Perl")
1297 (description "Test::SharedFork is a utility module for Test::Builder. It
1298 makes fork(2) safe to use in test cases.")
1299 (license perl-license)))
1301 (define-public perl-test-simple
1303 (name "perl-test-simple")
1304 (version "1.302172")
1307 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1308 "Test-Simple-" version ".tar.gz"))
1311 "1z1l8dgssf0mqbgik33sc5j48iiapppkwmacwah990hj0j7pd23k"))))
1312 (build-system perl-build-system)
1313 (synopsis "Basic utilities for writing tests")
1315 "Test::Simple contains basic utilities for writing tests.")
1316 (home-page "https://metacpan.org/release/Test-Simple")
1317 (license perl-license)))
1319 (define-public perl-test-subcalls
1321 (name "perl-test-subcalls")
1326 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1327 "Test-SubCalls-" version ".tar.gz"))
1329 (base32 "1hmnv9nkdzyrr6yis0dnkf4lk0hwld3zapiyq7mizrq5barykhfb"))))
1330 (build-system perl-build-system)
1332 `(("perl-hook-lexwrap" ,perl-hook-lexwrap)))
1333 (home-page "https://metacpan.org/release/Test-SubCalls")
1334 (synopsis "Track the number of times subs are called")
1336 "There are a number of different situations (like testing caching
1337 code) where you want to want to do a number of tests, and then verify
1338 that some underlying subroutine deep within the code was called
1339 a specific number of times.
1341 Test::SubCalls module provides a number of functions for doing testing
1342 in this way in association with your normal Test::More (or similar)
1344 (license perl-license)))
1346 (define-public perl-test-taint
1348 (name "perl-test-taint")
1353 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Taint-"
1357 "01rip5d7gdr1c7lq6yczzkqfd0500nfa977ryigylj6jj75526vj"))))
1358 (build-system perl-build-system)
1359 (home-page "https://metacpan.org/release/Test-Taint")
1360 (synopsis "Checks for taintedness of variables")
1361 (description "Tainted data is data that comes from an unsafe source, such
1362 as the command line, or, in the case of web apps, any @code{GET} or
1363 @code{POST} transactions. Read the @code{perlsec} man page for details on why
1364 tainted data is bad, and how to untaint the data.
1366 When you're writing unit tests for code that deals with tainted data, you'll
1367 want to have a way to provide tainted data for your routines to handle, and
1368 easy ways to check and report on the taintedness of your data, in standard
1369 @code{Test::More} style.")
1370 (license perl-license)))
1372 (define-public perl-test-tester
1374 (name "perl-test-tester")
1378 (uri (string-append "mirror://cpan/authors/id/F/FD/FDALY/"
1379 "Test-Tester-" version ".tar.gz"))
1382 "0m9n28z09kq455r5nydj1bnr85lvmbfpcbjdkjfbpmfb5xgciiyk"))))
1383 (build-system perl-build-system)
1384 (synopsis "Simplify running Test::Builder tests")
1386 "Test::Tester allows testing of test modules based on Test::Builder with
1387 a minimum of effort.")
1388 (home-page "https://metacpan.org/release/FDALY/Test-Tester-0.109")
1389 (license perl-license)))
1391 (define-public perl-test-perltidy
1393 (name "perl-test-perltidy")
1394 (version "20130104")
1399 "mirror://cpan/authors/id/L/LA/LARRYL/Test-PerlTidy-"
1403 "1j5rsb4km9rzcbd1ljavj8vm42bmilji40v2jj2k87l1ykrxj59z"))))
1404 (build-system perl-build-system)
1406 `(("perl-file-finder" ,perl-file-finder)
1407 ("perl-file-slurp" ,perl-file-slurp)
1408 ("perltidy" ,perltidy)
1409 ("perl-text-diff" ,perl-text-diff)))
1410 (home-page "https://metacpan.org/release/Test-PerlTidy")
1411 (synopsis "Check that all your Perl files are tidy")
1413 "Using @code{Test::PerlTidy}, any file ending in .pl, .pm, .t or .PL will
1414 cause a test fail unless it is exactly as @code{perltidy} would like it to be.")
1415 (license perl-license)))
1417 (define-public perl-test-trap
1419 (name "perl-test-trap")
1424 (uri (string-append "mirror://cpan/authors/id/E/EB/EBHANSSEN/"
1425 "Test-Trap-v" version ".tar.gz"))
1427 (base32 "1qjs2080kcc66s4d7499br5lw2qmhr9gxky4xsl6vjdn6dpna10b"))))
1428 (build-system perl-build-system)
1430 `(("perl-module-build" ,perl-module-build)
1431 ("perl-test-simple" ,perl-test-simple)))
1433 `(("perl-data-dump" ,perl-data-dump)))
1434 (home-page "https://metacpan.org/release/Test-Trap")
1435 (synopsis "Trap exit codes, exceptions, output, and so on")
1436 (description "This module is primarily (but not exclusively) for use in
1437 test scripts: A block eval configurable and extensible but by default trapping
1438 STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values
1439 from boxed blocks of test code.")
1440 (license perl-license)))
1442 (define-public perl-test-utf8
1444 (name "perl-test-utf8")
1449 (uri (string-append "mirror://cpan/authors/id/M/MA/MARKF/"
1450 "Test-utf8-" version ".tar.gz"))
1453 "0yhvf735v334qqvp9zg7i66qyk6r4cbk5s2psv93d3fdd4bindzg"))))
1454 (build-system perl-build-system)
1456 `(("perl-module-install" ,perl-module-install)))
1457 (home-page "https://metacpan.org/release/Test-utf8")
1458 (synopsis "UTF-8 testing in Perl")
1459 (description "This module is a collection of tests useful for dealing with
1460 UTF-8 strings in Perl. This module has two types of tests: The validity tests
1461 check if a string is valid and not corrupt, whereas the characteristics tests
1462 will check that string has a given set of characteristics.")
1463 (license perl-license)))
1465 (define-public perl-test-version
1467 (name "perl-test-version")
1473 "mirror://cpan/authors/id/P/PL/PLICEASE/Test-Version-"
1478 "1q1qradaf7r2rb3jhpv01wl8z3bxymkfqrl9gwdhxwx5jwldvqcw"))))
1479 (build-system perl-build-system)
1481 `(("perl-test-exception" ,perl-test-exception)))
1483 `(("perl-file-find-rule-perl" ,perl-file-find-rule-perl)))
1484 (home-page "https://metacpan.org/release/Test-Version")
1485 (synopsis "Check versions in modules")
1487 "@code{Test::Version} checks to ensure that all modules have a version
1488 defined, and that the version is valid.")
1489 (license artistic2.0)))
1491 (define-public perl-test-warn
1493 (name "perl-test-warn")
1498 (uri (string-append "mirror://cpan/authors/id/C/CH/CHORNY/"
1499 "Test-Warn-" version ".tar.gz"))
1502 "0haf2ii7br5z0psmkvlvmx2z2q9qz1c70gx0969r378qjidmb5w1"))))
1503 (build-system perl-build-system)
1505 `(("perl-sub-uplevel" ,perl-sub-uplevel)))
1506 (home-page "https://metacpan.org/release/Test-Warn")
1507 (synopsis "Perl extension to test methods for warnings")
1508 (description "This module provides a few convenience methods for testing
1509 warning based code.")
1510 (license perl-license)))
1512 (define-public perl-test-warnings
1514 (name "perl-test-warnings")
1519 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1520 "Test-Warnings-" version ".tar.gz"))
1523 "024srkwjckp15dxkni9lb1hc8bg4xwc52zz0iich8rv1nnqnhaxf"))))
1524 (build-system perl-build-system)
1525 (home-page "https://metacpan.org/release/Test-Warnings")
1526 (synopsis "Test for warnings and the lack of them")
1527 (description "This module is intended to be used as a drop-in replacement
1528 for Test::NoWarnings. It also adds an extra test, but runs this test before
1529 done_testing calculates the test count, rather than after. It does this by
1530 hooking into done_testing as well as via an END block. You can declare a
1531 plan, or not, and things will still Just Work.")
1532 (license perl-license)))
1534 (define-public perl-test-without-module
1536 (name "perl-test-without-module")
1541 (uri (string-append "mirror://cpan/authors/id/C/CO/CORION/"
1542 "Test-Without-Module-" version ".tar.gz"))
1545 "0955ib9cz1naz7a2v6lx78kj29q7ihmdn51im6wd1im669yfp6lf"))))
1546 (build-system perl-build-system)
1547 (home-page "https://metacpan.org/release/Test-Without-Module")
1548 (synopsis "Test fallback behaviour in absence of modules")
1549 (description "This module allows you to deliberately hide modules from a
1550 program even though they are installed. This is mostly useful for testing
1551 modules that have a fallback when a certain dependency module is not
1553 (license perl-license)))
1555 (define-public perl-test-writevariants
1557 (name "perl-test-writevariants")
1562 (uri (string-append "mirror://cpan/authors/id/R/RE/REHSACK/"
1563 "Test-WriteVariants-" version ".tar.gz"))
1565 (base32 "11v4j3607bydxsqy2ylx9w6qr3qxcalfx3mdc4q4ccqmxsyw4jb3"))))
1566 (build-system perl-build-system)
1568 `(("perl-test-most" ,perl-test-most)
1569 ("perl-test-directory" ,perl-test-directory)))
1571 `(("perl-data-tumbler" ,perl-data-tumbler)
1572 ("perl-file-homedir" ,perl-file-homedir)
1573 ("perl-module-pluggable" ,perl-module-pluggable)
1574 ("perl-module-runtime" ,perl-module-runtime)))
1575 (home-page "https://metacpan.org/release/Test-WriteVariants")
1576 (synopsis "Dynamic generation of tests")
1577 (description "The Test::WriteVariants module provides for the dynamic
1578 generation of tests in nested combinations of contexts.")
1579 (license perl-license))) ; see LICENSE
1581 (define-public perl-test-yaml
1583 (name "perl-test-yaml")
1588 (uri (string-append "mirror://cpan/authors/id/T/TI/TINITA/"
1589 "Test-YAML-" version ".tar.gz"))
1591 (base32 "0pwrrnwi1qaiy3c5522vy0kzncxc9g02r4b056wqqaa69w1hsc0z"))))
1592 (build-system perl-build-system)
1594 `(("perl-test-base" ,perl-test-base)))
1595 (home-page "https://metacpan.org/release/Test-YAML")
1596 (synopsis "Testing module for YAML implementations")
1597 (description "Test::YAML is a subclass of Test::Base with YAML specific
1599 (license perl-license)))
1601 (define-public perl-test-trailingspace
1603 (name "perl-test-trailingspace")
1609 "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-TrailingSpace-"
1614 "0w2rvsksv7cmf80v632xm2rwxrv933kzz97839yhwynvg9s7b252"))))
1615 (build-system perl-build-system)
1617 `(("perl-module-build" ,perl-module-build)
1618 ("perl-file-find-object" ,perl-file-find-object)
1619 ("perl-class-xsaccessor" ,perl-class-xsaccessor)))
1621 `(("perl-file-find-object-rule" ,perl-file-find-object-rule)
1622 ("perl-text-glob" ,perl-text-glob)
1623 ("perl-number-compare" ,perl-number-compare)))
1625 "https://metacpan.org/release/Test-TrailingSpace")
1627 "Test for trailing space in Perl source files")
1628 (description "Test::TrailingSpace tests for trailing spaces
1629 in Perl source files.")