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>
19 ;;; This file is part of GNU Guix.
21 ;;; GNU Guix is free software; you can redistribute it and/or modify it
22 ;;; under the terms of the GNU General Public License as published by
23 ;;; the Free Software Foundation; either version 3 of the License, or (at
24 ;;; your option) any later version.
26 ;;; GNU Guix is distributed in the hope that it will be useful, but
27 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
28 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 ;;; GNU General Public License for more details.
31 ;;; You should have received a copy of the GNU General Public License
32 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
34 (define-module (gnu packages perl-check)
35 #:use-module (guix licenses)
36 #:use-module (gnu packages)
37 #:use-module (gnu packages valgrind)
38 #:use-module (gnu packages web)
39 #:use-module (guix packages)
40 #:use-module (guix download)
41 #:use-module (guix build-system perl)
42 #:use-module (gnu packages perl))
45 ;;; Please: Try to add new module packages in alphabetic order.
49 (define-public perl-mock-config
51 (name "perl-mock-config")
56 (uri (string-append "mirror://cpan/authors/id/R/RU/RURBAN/Mock-Config-"
59 (base32 "06q0xkg5cwdwafzmb9rkaa305ddv7vli9gpm6n9jnkyaaxbk9f55"))))
60 (build-system perl-build-system)
61 (home-page "https://metacpan.org/release/Mock-Config")
62 (synopsis "Temporarily set Config or XSConfig values")
64 "The @code{Mock::Config} Perl module allows temporarily setting and
65 overriding @code{Config} values, even for the readonly @code{XSConfig}
66 implementation as used in cperl. It does not store the mocked overrides
67 lexically, just dynamically.")
68 (license artistic2.0)))
70 (define-public perl-test2-suite
72 (name "perl-test2-suite")
77 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/Test2-Suite-"
81 "0hgd6n29qjh1pwqvbglm2kb852yqshmixqqjhsr2kvvibdr58qpf"))))
82 (build-system perl-build-system)
85 (modify-phases %standard-phases
86 (add-after 'unpack 'set-env
87 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
89 `(("perl-importer" ,perl-importer)
90 ("perl-term-table" ,perl-term-table)
91 ("perl-sub-info" ,perl-sub-info)))
92 (home-page "https://metacpan.org/pod/Test2-Suite")
93 (synopsis "Full set of tools for Test2::Suite")
94 (description "This package provides a rich set of tools, plugins, bundles,
95 etc built upon the Test2 testing library.")
96 (license perl-license)))
98 (define-public perl-test2-plugin-nowarnings
100 (name "perl-test2-plugin-nowarnings")
105 (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/Test2-Plugin-NoWarnings-"
109 "002qk6qsm0l6r2kaxywvc38w0yf0mlavgywq8li076pn6kcw3242"))))
110 (build-system perl-build-system)
112 `(("perl-ipc-run3" ,perl-ipc-run3)))
114 `(("perl-test2-suite" ,perl-test2-suite)))
115 (home-page "https://metacpan.org/release/Test2-Plugin-NoWarnings")
116 (synopsis "Fail if tests warn")
117 (description "Loading this plugin causes your tests to fail if there any
118 warnings while they run. Each warning generates a new failing test and the
119 warning content is outputted via diag.")
120 (license perl-license)))
122 (define-public perl-test-base
124 (name "perl-test-base")
129 (uri (string-append "mirror://cpan/authors/id/I/IN/INGY/"
130 "Test-Base-" version ".tar.gz"))
133 "056hibgg3i2b89mwr76vyxi6ayb3hqjqcwicvn3s5lximsma3517"))))
134 (build-system perl-build-system)
136 `(("perl-algorithm-diff" ,perl-algorithm-diff)
137 ("perl-text-diff" ,perl-text-diff)))
139 `(("perl-spiffy" ,perl-spiffy)
140 ("perl-test-deep" ,perl-test-deep)))
141 (home-page "https://metacpan.org/release/Test-Base")
142 (synopsis "Data-driven testing framework for Perl")
143 (description "Test::Base gives a way to trivially write your own test
144 framework base class. It concentrates on offering reusable data driven
145 patterns, so that you can write tests with a minimum of code.")
146 (license perl-license)))
148 (define-public perl-test-checkdeps
150 (name "perl-test-checkdeps")
156 "mirror://cpan/authors/id/L/LE/LEONT/Test-CheckDeps-"
161 "1vjinlixxdx6gfcw8y1dw2rla8bfhi8nmgcqr3nffc7kqskcrz36"))))
162 (build-system perl-build-system)
164 `(("perl-cpan-meta-check" ,perl-cpan-meta-check)))
165 (home-page "https://metacpan.org/release/Test-CheckDeps")
166 (synopsis "Check for presence of dependencies")
168 "This module provides a test that checks all dependencies have been
169 installed properly.")
170 (license perl-license)))
172 (define-public perl-test-class
174 (name "perl-test-class")
180 "https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Class-"
185 "0l0kk5jvxjkic2jkf1r7v41irb344aasnzr3f5ygjgxgiknm9489"))))
186 (build-system perl-build-system)
188 `(("perl-test-exception" ,perl-test-exception)))
190 `(("perl-module-runtime" ,perl-module-runtime)
191 ("perl-mro-compat" ,perl-mro-compat)
192 ("perl-try-tiny" ,perl-try-tiny)))
193 (home-page "https://metacpan.org/release/Test-Class")
194 (synopsis "Easily create test classes in an xUnit/JUnit style")
195 (description "@code{Test::Class} provides a simple way of creating classes
196 and objects to test your code in an xUnit style.
198 Built using @code{Test::Builder}, it was designed to work with other
199 @code{Test::Builder} based modules (@code{Test::More},
200 @code{Test::Differences}, @code{Test::Exception}, etc.).")
201 (license perl-license)))
203 (define-public perl-test-class-most
205 (name "perl-test-class-most")
211 "mirror://cpan/authors/id/O/OV/OVID/Test-Class-Most-"
216 "1zvx9hil0mg0pnb8xfa4m0xgjpvh8s5gnbyprq3xwpdsdgcdwk33"))))
217 (build-system perl-build-system)
219 `(("perl-module-build" ,perl-module-build)))
221 `(("perl-test-class" ,perl-test-class)
222 ("perl-test-most" ,perl-test-most)
223 ("perl-module-runtime" ,perl-module-runtime)
224 ("perl-try-tiny" ,perl-try-tiny)
225 ("perl-mro-compat" ,perl-mro-compat)))
226 (home-page "https://metacpan.org/release/Test-Class-Most")
227 (synopsis "Test classes the easy way")
228 (description "@code{Test::Class::Most} provides some more convenience when
229 using @code{Test::Class}.")
230 (license perl-license)))
232 (define-public perl-test-cleannamespaces
234 (name "perl-test-cleannamespaces")
239 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
240 "Test-CleanNamespaces-" version ".tar.gz"))
242 (base32 "0yijspncqgmbkkxrh66xx1pliajar05yqhzq6m4nb6p8x1lmb39k"))))
243 (build-system perl-build-system)
245 `(("perl-file-pushd" ,perl-file-pushd)
246 ("perl-test-requires" ,perl-test-requires)
247 ("perl-test-deep" ,perl-test-deep)
248 ("perl-test-warnings" ,perl-test-warnings)
249 ("perl-test-needs" ,perl-test-needs)))
251 `(("perl-namespace-clean" ,perl-namespace-clean)
252 ("perl-package-stash" ,perl-package-stash)
253 ("perl-sub-identify" ,perl-sub-identify)
254 ("perl-sub-exporter" ,perl-sub-exporter)
255 ("perl-file-find-rule" ,perl-file-find-rule)
256 ("perl-file-find-rule-perl" ,perl-file-find-rule-perl)))
257 (home-page "https://metacpan.org/release/Test-CleanNamespaces")
258 (synopsis "Check for uncleaned imports")
259 (description "This module lets you check your module's namespaces for
260 imported functions you might have forgotten to remove with
261 namespace::autoclean or namespace::clean and are therefore available to be
262 called as methods, which usually isn't want you want.")
263 (license perl-license)))
265 (define-public perl-test-command
267 (name "perl-test-command")
272 "mirror://cpan/authors/id/D/DA/DANBOO/Test-Command-"
276 "0cwm3c4d49mdrbm6vgh78b3x8mk730l0zg8i7xb9z8bkx9pzr8r8"))))
277 (build-system perl-build-system)
279 `(("perl-module-build" ,perl-module-build)))
280 (home-page "https://github.com/danboo/perl-test-command")
281 (synopsis "Test routines for external commands")
283 "This module provides routines for testing the exit status, standard
284 output and standard error of external commands.")
285 (license perl-license)))
287 (define-public perl-test-cpan-meta
289 (name "perl-test-cpan-meta")
295 "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-"
300 "1dcdbbdwdyhpldkhjzc9rvzlmb5jbil6fwh2x07nsfdwysf4ynzm"))))
301 (build-system perl-build-system)
303 `(("perl-test-cpan-meta-json" ,perl-test-cpan-meta-json)
304 ("perl-test-pod" ,perl-test-pod)
305 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
307 "https://metacpan.org/release/Test-CPAN-Meta")
308 (synopsis "Validate your CPAN META.yml files")
310 "This module was written to ensure that a META.yml file meets the
312 (license artistic2.0)))
314 (define-public perl-test-cpan-meta-json
316 (name "perl-test-cpan-meta-json")
322 "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-JSON-"
327 "1jg9ka50ixwq083wd4k12rhdjq87w0ihb34gd8jjn7gvvyd51b37"))))
328 (build-system perl-build-system)
330 `(("perl-test-pod" ,perl-test-pod)
331 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
333 `(("perl-json" ,perl-json)))
335 "https://metacpan.org/release/Test-CPAN-Meta-JSON")
336 (synopsis "Validate your CPAN META.json files")
338 "This module was written to ensure that a META.json file meets the
340 (license artistic2.0)))
342 (define-public perl-test-deep
344 (name "perl-test-deep")
348 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
349 "Test-Deep-" version ".tar.gz"))
352 "1kdy06r0yg7zwarqglc9163vbfb0sfc4s6ld4pw5q7i9f7mghzi0"))))
353 (build-system perl-build-system)
354 (inputs `(("perl-test-nowarnings" ,perl-test-nowarnings)))
355 (synopsis "Flexible deep comparison for the Test::Builder framework")
357 "Test::Deep compares two structures by going through each level, ensuring
358 that the values match, that arrays and hashes have the same elements and that
359 references are blessed into the correct class. It also handles circular data
360 structures without getting caught in an infinite loop.")
361 (home-page "https://metacpan.org/release/Test-Deep")
362 (license gpl1+))) ; or "Artistic License"
364 (define-public perl-test-differences
366 (name "perl-test-differences")
371 (uri (string-append "mirror://cpan/authors/id/D/DC/DCANTRELL/"
372 "Test-Differences-" version ".tar.gz"))
374 (base32 "1nkqr3m4lbzw7fkkzah42aiqlhxapamk6kw7hj90cjwkifsbp3f8"))))
375 (build-system perl-build-system)
377 `(("perl-module-build" ,perl-module-build)))
379 `(("perl-text-diff" ,perl-text-diff)
380 ("perl-capture-tiny" ,perl-capture-tiny)))
381 (home-page "https://metacpan.org/release/Test-Differences")
382 (synopsis "Test strings and data structures and show differences")
383 (description "This module exports three test functions and four diff-style
385 ;; See LICENSE section of Test/Differences.pm, which reads "... GNU public
386 ;; license, any version, ..."
389 (define-public perl-test-dir
391 (name "perl-test-dir")
396 (uri (string-append "mirror://cpan/authors/id/M/MT/MTHURN/"
397 "Test-Dir-" version ".tar.gz"))
400 "1hpafgr93jjl6s8spskhdxhgich4cccmaiq99mla5diyj4iv6ckk"))))
401 (build-system perl-build-system)
403 `(("perl-pod-coverage" ,perl-pod-coverage)
404 ("perl-test-pod" ,perl-test-pod)
405 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
406 (home-page "https://metacpan.org/release/Test-Dir")
407 (synopsis "Utilities for testing directory attributes")
409 "This modules provides a collection of test utilities for directory
411 (license perl-license)))
413 (define-public perl-test-directory
415 (name "perl-test-directory")
420 (uri (string-append "mirror://cpan/authors/id/S/SA/SANBEG/"
421 "Test-Directory-" version ".tar.gz"))
424 "1ncql08cizhicbxwd753b4czns8nlcnlw0zfjcfrbdd41x4j6hqr"))))
425 (build-system perl-build-system)
426 (native-inputs `(("perl-test-exception" ,perl-test-exception)))
427 (home-page "https://metacpan.org/release/Test-Directory")
428 (synopsis "Perl extension for maintaining test directories")
429 (description "Testing code can involve making sure that files are created
430 and deleted as expected. Doing this manually can be error prone, as it's easy
431 to forget a file, or miss that some unexpected file was added. This module
432 simplifies maintaining test directories by tracking their status as they are
433 modified or tested with this API, making it simple to test both individual
434 files, as well as to verify that there are no missing or unknown files.")
435 (license perl-license)))
437 (define-public perl-test-distmanifest
439 (name "perl-test-distmanifest")
445 "mirror://cpan/authors/id/E/ET/ETHER/Test-DistManifest-"
448 (base32 "1ifpff5simjslabwy7ac6kdylv4c0b5b39fgpwf9ha16yh6w49ix"))))
449 (build-system perl-build-system)
451 `(("perl-module-build" ,perl-module-build)))
453 `(("perl-module-manifest" ,perl-module-manifest)))
454 (home-page "https://github.com/jawnsy/Test-DistManifest")
455 (synopsis "Author test that validates a package @file{MANIFEST}")
457 "@code{Test::DistManifest} provides a simple method of testing that a
458 @file{MANIFEST} file matches its distribution.")
459 (license perl-license)))
461 (define-public perl-test-distribution
463 (name "perl-test-distribution")
469 "mirror://cpan/authors/id/S/SR/SRSHAH/Test-Distribution-"
473 "0s1bj459qaw2x1fckklv9irpf3mr8gp2cm9vlyrb5dyanrzx1v2h"))))
474 (build-system perl-build-system)
476 `(("perl-module-build" ,perl-module-build)))
478 `(("perl-file-find-rule" ,perl-file-find-rule)
479 ("perl-pod-coverage" ,perl-pod-coverage)
480 ("perl-test-pod" ,perl-test-pod)
481 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
482 (home-page "https://metacpan.org/release/Test-Distribution")
483 (synopsis "Perform tests on all modules of a distribution")
484 (description "When used in a test script @code{Test::Distribution}
485 goes through all the modules in your distribution, checks their POD,
486 checks that they compile successfully and checks that they all define
487 a $VERSION. In addition, this module performs a number of tests on
488 the distribution itself. It checks that the distributed files match
489 the SIGNATURE file, if that file exists. It checks that the
490 distribution is not missing any core description files. It also
491 checks that the complete set of pre-requisite packages are listed in
492 the Makefile.PL file.")
493 (license perl-license)))
495 (define-public perl-test-eol
497 (name "perl-test-eol")
503 "mirror://cpan/authors/id/E/ET/ETHER/Test-EOL-"
508 "0l3bxpsw0x7j9nclizcp53mnf9wny25dmg2iglfhzgnk0xfpwzwf"))))
509 (build-system perl-build-system)
511 "https://metacpan.org/release/Test-EOL")
513 "Check the correct line endings in your project")
515 "@code{Test::EOL} lets you check for the presence of trailing whitespace
516 and/or windows line endings in your perl code.")
517 (license perl-license)))
519 (define-public perl-test-exception
521 (name "perl-test-exception")
526 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
527 "Test-Exception-" version ".tar.gz"))
530 "0cxm7s4bg0xpxa6l6996a6iq3brr4j7p4hssnkc6dxv4fzq16sqm"))))
531 (build-system perl-build-system)
533 `(("perl-module-build" ,perl-module-build)))
535 `(("perl-sub-uplevel" ,perl-sub-uplevel)))
536 (home-page "https://metacpan.org/release/Test-Exception")
537 (synopsis "Test exception based code")
538 (description "This module provides a few convenience methods for testing
539 exception based code. It is built with Test::Builder and plays happily with
540 Test::More and friends.")
541 (license perl-license)))
543 (define-public perl-test-failwarnings
545 (name "perl-test-failwarnings")
551 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-"
555 "0vx9chcp5x8m0chq574p9fnfckh5gl94j7904rh9v17n568fyd6s"))))
556 (build-system perl-build-system)
558 `(("perl-capture-tiny" ,perl-capture-tiny)))
559 (home-page "https://metacpan.org/release/Test-FailWarnings")
560 (synopsis "Add test failures if warnings are caught")
562 "Test::FailWarnings adds test failures if warnings are caught.")
565 (define-public perl-test-fatal
567 (name "perl-test-fatal")
572 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
573 "Test-Fatal-" version ".tar.gz"))
576 "1c6bs68mss4q7cyapkv2c0jn66i21050p0faxf3s3417gdffzp5w"))))
577 (build-system perl-build-system)
578 (propagated-inputs `(("perl-try-tiny" ,perl-try-tiny)))
579 (home-page "https://metacpan.org/release/Test-Fatal")
580 (synopsis "Simple helpers for testing code with exceptions")
581 (description "Test::Fatal is an alternative to the popular
582 Test::Exception. It does much less, but should allow greater flexibility in
583 testing exception-throwing code with about the same amount of typing.")
584 (license perl-license)))
586 (define-public perl-test-file
588 (name "perl-test-file")
594 "mirror://cpan/authors/id/B/BD/BDFOY/Test-File-"
599 "1mdwb3x8d4l24wsymamsnq2c73a637v4q5kmb5xqqz31iymsdd31"))))
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-output
1070 (name "perl-test-output")
1074 (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/"
1075 "Test-Output-" version ".tar.gz"))
1078 "193y1xjvgc1p9pdgdwps2127knvpz9wc1xh6gmr74y3ihmqz7f7q"))))
1079 (build-system perl-build-system)
1081 `(("perl-capture-tiny" ,perl-capture-tiny)
1082 ("perl-sub-exporter" ,perl-sub-exporter)))
1083 (synopsis "Utilities to test STDOUT and STDERR messages")
1085 "Test::Output provides a simple interface for testing output sent to
1086 STDOUT or STDERR. A number of different utilities are included to try and be
1087 as flexible as possible to the tester.")
1088 (home-page "https://metacpan.org/release/Test-Output")
1089 (license perl-license)))
1091 (define-public perl-test-pod
1093 (name "perl-test-pod")
1098 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1099 "Test-Pod-" version ".tar.gz"))
1102 "1z75x1pxwp8ajwq9iazlg2c3wd7rdlim08yclpdg32qnc36dpa30"))))
1103 (build-system perl-build-system)
1104 (native-inputs `(("perl-module-build" ,perl-module-build)))
1105 (home-page "https://metacpan.org/release/Test-Pod")
1106 (synopsis "Check for POD errors in files")
1107 (description "Check POD files for errors or warnings in a test file, using
1108 Pod::Simple to do the heavy lifting.")
1109 (license perl-license)))
1111 (define-public perl-test-pod-coverage
1113 (name "perl-test-pod-coverage")
1118 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
1119 "Test-Pod-Coverage-" version ".tar.gz"))
1122 "1m203mhgfilz7iqc8mxaw4lw02fz391mni3n25sfx7nryylwrja8"))))
1123 (build-system perl-build-system)
1125 `(("perl-pod-coverage" ,perl-pod-coverage)))
1126 (home-page "https://metacpan.org/release/Test-Pod-Coverage")
1127 (synopsis "Check for pod coverage")
1128 (description "This module adds a test to your Perl distribution which
1129 checks for pod coverage of all appropriate files.")
1130 (license artistic2.0)))
1132 (define-public perl-test-requires
1134 (name "perl-test-requires")
1139 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
1140 "Test-Requires-" version ".tar.gz"))
1143 "1d9f481lj12cw1ciil46xq9nq16p6a90nm7yrsalpf8asn8s6s17"))))
1144 (build-system perl-build-system)
1145 (home-page "https://metacpan.org/release/Test-Requires")
1146 (synopsis "Checks to see if the module can be loaded")
1147 (description "Test::Requires checks to see if the module can be loaded.
1148 If this fails, then rather than failing tests this skips all tests.")
1149 (license perl-license)))
1151 (define-public perl-test-requiresinternet
1153 (name "perl-test-requiresinternet")
1159 "mirror://cpan/authors/id/M/MA/MALLEN/Test-RequiresInternet-"
1164 "0gl33vpj9bb78pzyijp884b66sbw6jkh1ci0xki8rmf03hmb79xv"))))
1165 (build-system perl-build-system)
1166 (home-page "https://metacpan.org/release/Test-RequiresInternet")
1167 (synopsis "Easily test network connectivity when running tests")
1169 "This Perl module is intended to easily test network connectivity to
1170 non-local Internet resources before functional tests begin. If the sockets
1171 cannot connect to the specified hosts and ports, the exception is caught and
1172 reported, and the tests skipped.")
1173 (license perl-license)))
1175 (define-public perl-test-roo
1177 (name "perl-test-roo")
1183 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-Roo-"
1187 "1mnym49j1lj7gzylma5b6nr4vp75rmgz2v71904v01xmxhy9l4i1"))))
1188 (build-system perl-build-system)
1190 `(("perl-capture-tiny" ,perl-capture-tiny)))
1192 `(("perl-indirect" ,perl-indirect)
1193 ("perl-moo" ,perl-moo)
1194 ("perl-moox-types-mooselike" ,perl-moox-types-mooselike)
1195 ("perl-multidimensional" ,perl-multidimensional)
1196 ("perl-strictures" ,perl-strictures)
1197 ("perl-sub-install" ,perl-sub-install)))
1198 (home-page "https://metacpan.org/release/Test-Roo")
1199 (synopsis "Composable, reusable tests with roles and Moo")
1200 (description "Test::Roo provides composable, reusable tests with roles.")
1203 (define-public perl-test-runvalgrind
1205 (name "perl-test-runvalgrind")
1211 "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-RunValgrind-"
1215 (base32 "175hlycrhgwrp7j4rwx5bk4fd6775242wjdqv107rvgsrszsi915"))))
1216 (build-system perl-build-system)
1218 `(("perl-module-build" ,perl-module-build)))
1220 `(("perl-path-tiny" ,perl-path-tiny)
1221 ("perl-test-trap" ,perl-test-trap)
1222 ("valgrind" ,valgrind)))
1223 (home-page "https://metacpan.org/release/Test-RunValgrind")
1224 (synopsis "Tests that an external program is valgrind-clean")
1225 (description "Test::RunValgind checks weather Valgrind does not detect
1226 errors (such as memory leaks) in an arbitrary binary executable.")
1229 (define-public perl-test-script
1231 (name "perl-test-script")
1235 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
1236 "Test-Script-" version ".tar.gz"))
1239 "1msavbi6przkxq3npm90nv925v58iym9jrk677wn46x19whwzwzm"))))
1240 (build-system perl-build-system)
1242 `(("perl-capture-tiny" ,perl-capture-tiny)
1243 ("perl-probe-perl" ,perl-probe-perl)))
1244 (synopsis "Basic cross-platform tests for scripts")
1246 "The intent of the Test::Script module is to provide a series of basic
1247 tests for 80% of the testing you will need to do for scripts in the script (or
1248 bin as is also commonly used) paths of your Perl distribution.")
1249 (home-page "https://metacpan.org/release/Test-Script")
1250 (license perl-license)))
1252 (define-public perl-test-sharedfork
1254 (name "perl-test-sharedfork")
1259 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1260 "Test-SharedFork-" version ".tar.gz"))
1262 (base32 "17y52j20k1bs9dgf4n6rhh9dn4cfxxbnfn2cfs7pb00fc5jyhci9"))))
1263 (build-system perl-build-system)
1265 `(("perl-test-requires" ,perl-test-requires)))
1266 (home-page "https://metacpan.org/release/Test-SharedFork")
1267 (synopsis "Fork test in Perl")
1268 (description "Test::SharedFork is a utility module for Test::Builder. It
1269 makes fork(2) safe to use in test cases.")
1270 (license perl-license)))
1272 (define-public perl-test-simple
1274 (name "perl-test-simple")
1275 (version "1.302172")
1278 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1279 "Test-Simple-" version ".tar.gz"))
1282 "1z1l8dgssf0mqbgik33sc5j48iiapppkwmacwah990hj0j7pd23k"))))
1283 (build-system perl-build-system)
1284 (synopsis "Basic utilities for writing tests")
1286 "Test::Simple contains basic utilities for writing tests.")
1287 (home-page "https://metacpan.org/release/Test-Simple")
1288 (license perl-license)))
1290 (define-public perl-test-taint
1292 (name "perl-test-taint")
1297 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Taint-"
1301 "01rip5d7gdr1c7lq6yczzkqfd0500nfa977ryigylj6jj75526vj"))))
1302 (build-system perl-build-system)
1303 (home-page "https://metacpan.org/release/Test-Taint")
1304 (synopsis "Checks for taintedness of variables")
1305 (description "Tainted data is data that comes from an unsafe source, such
1306 as the command line, or, in the case of web apps, any @code{GET} or
1307 @code{POST} transactions. Read the @code{perlsec} man page for details on why
1308 tainted data is bad, and how to untaint the data.
1310 When you're writing unit tests for code that deals with tainted data, you'll
1311 want to have a way to provide tainted data for your routines to handle, and
1312 easy ways to check and report on the taintedness of your data, in standard
1313 @code{Test::More} style.")
1314 (license perl-license)))
1316 (define-public perl-test-tester
1318 (name "perl-test-tester")
1322 (uri (string-append "mirror://cpan/authors/id/F/FD/FDALY/"
1323 "Test-Tester-" version ".tar.gz"))
1326 "0m9n28z09kq455r5nydj1bnr85lvmbfpcbjdkjfbpmfb5xgciiyk"))))
1327 (build-system perl-build-system)
1328 (synopsis "Simplify running Test::Builder tests")
1330 "Test::Tester allows testing of test modules based on Test::Builder with
1331 a minimum of effort.")
1332 (home-page "https://metacpan.org/release/FDALY/Test-Tester-0.109")
1333 (license perl-license)))
1335 (define-public perl-test-perltidy
1337 (name "perl-test-perltidy")
1338 (version "20130104")
1343 "mirror://cpan/authors/id/L/LA/LARRYL/Test-PerlTidy-"
1347 "1j5rsb4km9rzcbd1ljavj8vm42bmilji40v2jj2k87l1ykrxj59z"))))
1348 (build-system perl-build-system)
1350 `(("perl-file-finder" ,perl-file-finder)
1351 ("perl-file-slurp" ,perl-file-slurp)
1352 ("perltidy" ,perltidy)
1353 ("perl-text-diff" ,perl-text-diff)))
1354 (home-page "https://metacpan.org/release/Test-PerlTidy")
1355 (synopsis "Check that all your Perl files are tidy")
1357 "Using @code{Test::PerlTidy}, any file ending in .pl, .pm, .t or .PL will
1358 cause a test fail unless it is exactly as @code{perltidy} would like it to be.")
1359 (license perl-license)))
1361 (define-public perl-test-trap
1363 (name "perl-test-trap")
1368 (uri (string-append "mirror://cpan/authors/id/E/EB/EBHANSSEN/"
1369 "Test-Trap-v" version ".tar.gz"))
1371 (base32 "1qjs2080kcc66s4d7499br5lw2qmhr9gxky4xsl6vjdn6dpna10b"))))
1372 (build-system perl-build-system)
1374 `(("perl-module-build" ,perl-module-build)
1375 ("perl-test-simple" ,perl-test-simple)))
1377 `(("perl-data-dump" ,perl-data-dump)))
1378 (home-page "https://metacpan.org/release/Test-Trap")
1379 (synopsis "Trap exit codes, exceptions, output, and so on")
1380 (description "This module is primarily (but not exclusively) for use in
1381 test scripts: A block eval configurable and extensible but by default trapping
1382 STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values
1383 from boxed blocks of test code.")
1384 (license perl-license)))
1386 (define-public perl-test-utf8
1388 (name "perl-test-utf8")
1393 (uri (string-append "mirror://cpan/authors/id/M/MA/MARKF/"
1394 "Test-utf8-" version ".tar.gz"))
1397 "0yhvf735v334qqvp9zg7i66qyk6r4cbk5s2psv93d3fdd4bindzg"))))
1398 (build-system perl-build-system)
1400 `(("perl-module-install" ,perl-module-install)))
1401 (home-page "https://metacpan.org/release/Test-utf8")
1402 (synopsis "UTF-8 testing in Perl")
1403 (description "This module is a collection of tests useful for dealing with
1404 UTF-8 strings in Perl. This module has two types of tests: The validity tests
1405 check if a string is valid and not corrupt, whereas the characteristics tests
1406 will check that string has a given set of characteristics.")
1407 (license perl-license)))
1409 (define-public perl-test-version
1411 (name "perl-test-version")
1417 "mirror://cpan/authors/id/P/PL/PLICEASE/Test-Version-"
1422 "1q1qradaf7r2rb3jhpv01wl8z3bxymkfqrl9gwdhxwx5jwldvqcw"))))
1423 (build-system perl-build-system)
1425 `(("perl-test-exception" ,perl-test-exception)))
1427 `(("perl-file-find-rule-perl" ,perl-file-find-rule-perl)))
1428 (home-page "https://metacpan.org/release/Test-Version")
1429 (synopsis "Check versions in modules")
1431 "@code{Test::Version} checks to ensure that all modules have a version
1432 defined, and that the version is valid.")
1433 (license artistic2.0)))
1435 (define-public perl-test-warn
1437 (name "perl-test-warn")
1442 (uri (string-append "mirror://cpan/authors/id/C/CH/CHORNY/"
1443 "Test-Warn-" version ".tar.gz"))
1446 "0haf2ii7br5z0psmkvlvmx2z2q9qz1c70gx0969r378qjidmb5w1"))))
1447 (build-system perl-build-system)
1449 `(("perl-sub-uplevel" ,perl-sub-uplevel)))
1450 (home-page "https://metacpan.org/release/Test-Warn")
1451 (synopsis "Perl extension to test methods for warnings")
1452 (description "This module provides a few convenience methods for testing
1453 warning based code.")
1454 (license perl-license)))
1456 (define-public perl-test-warnings
1458 (name "perl-test-warnings")
1463 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1464 "Test-Warnings-" version ".tar.gz"))
1467 "024srkwjckp15dxkni9lb1hc8bg4xwc52zz0iich8rv1nnqnhaxf"))))
1468 (build-system perl-build-system)
1469 (home-page "https://metacpan.org/release/Test-Warnings")
1470 (synopsis "Test for warnings and the lack of them")
1471 (description "This module is intended to be used as a drop-in replacement
1472 for Test::NoWarnings. It also adds an extra test, but runs this test before
1473 done_testing calculates the test count, rather than after. It does this by
1474 hooking into done_testing as well as via an END block. You can declare a
1475 plan, or not, and things will still Just Work.")
1476 (license perl-license)))
1478 (define-public perl-test-without-module
1480 (name "perl-test-without-module")
1485 (uri (string-append "mirror://cpan/authors/id/C/CO/CORION/"
1486 "Test-Without-Module-" version ".tar.gz"))
1489 "0955ib9cz1naz7a2v6lx78kj29q7ihmdn51im6wd1im669yfp6lf"))))
1490 (build-system perl-build-system)
1491 (home-page "https://metacpan.org/release/Test-Without-Module")
1492 (synopsis "Test fallback behaviour in absence of modules")
1493 (description "This module allows you to deliberately hide modules from a
1494 program even though they are installed. This is mostly useful for testing
1495 modules that have a fallback when a certain dependency module is not
1497 (license perl-license)))
1499 (define-public perl-test-writevariants
1501 (name "perl-test-writevariants")
1506 (uri (string-append "mirror://cpan/authors/id/R/RE/REHSACK/"
1507 "Test-WriteVariants-" version ".tar.gz"))
1509 (base32 "11v4j3607bydxsqy2ylx9w6qr3qxcalfx3mdc4q4ccqmxsyw4jb3"))))
1510 (build-system perl-build-system)
1512 `(("perl-test-most" ,perl-test-most)
1513 ("perl-test-directory" ,perl-test-directory)))
1515 `(("perl-data-tumbler" ,perl-data-tumbler)
1516 ("perl-file-homedir" ,perl-file-homedir)
1517 ("perl-module-pluggable" ,perl-module-pluggable)
1518 ("perl-module-runtime" ,perl-module-runtime)))
1519 (home-page "https://metacpan.org/release/Test-WriteVariants")
1520 (synopsis "Dynamic generation of tests")
1521 (description "The Test::WriteVariants module provides for the dynamic
1522 generation of tests in nested combinations of contexts.")
1523 (license perl-license))) ; see LICENSE
1525 (define-public perl-test-yaml
1527 (name "perl-test-yaml")
1532 (uri (string-append "mirror://cpan/authors/id/T/TI/TINITA/"
1533 "Test-YAML-" version ".tar.gz"))
1535 (base32 "0pwrrnwi1qaiy3c5522vy0kzncxc9g02r4b056wqqaa69w1hsc0z"))))
1536 (build-system perl-build-system)
1538 `(("perl-test-base" ,perl-test-base)))
1539 (home-page "https://metacpan.org/release/Test-YAML")
1540 (synopsis "Testing module for YAML implementations")
1541 (description "Test::YAML is a subclass of Test::Base with YAML specific
1543 (license perl-license)))
1545 (define-public perl-test-trailingspace
1547 (name "perl-test-trailingspace")
1553 "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-TrailingSpace-"
1558 "0w2rvsksv7cmf80v632xm2rwxrv933kzz97839yhwynvg9s7b252"))))
1559 (build-system perl-build-system)
1561 `(("perl-module-build" ,perl-module-build)
1562 ("perl-file-find-object" ,perl-file-find-object)
1563 ("perl-class-xsaccessor" ,perl-class-xsaccessor)))
1565 `(("perl-file-find-object-rule" ,perl-file-find-object-rule)
1566 ("perl-text-glob" ,perl-text-glob)
1567 ("perl-number-compare" ,perl-number-compare)))
1569 "https://metacpan.org/release/Test-TrailingSpace")
1571 "Test for trailing space in Perl source files")
1572 (description "Test::TrailingSpace tests for trailing spaces
1573 in Perl source files.")