gnu: Add meson 0.55.1.
[jackhill/guix/guix.git] / gnu / packages / perl-check.scm
CommitLineData
5ccde207
RW
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>
3c986a7d 6;;; Copyright © 2016 Nikita <nikita@n0.is>
548c120b 7;;; Copyright © 2016, 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
5ccde207
RW
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>
97845067 13;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
ab125315 14;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
4715f92e 15;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
52b1551b 16;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
ab82124f 17;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
e72b40af 18;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
5ccde207
RW
19;;;
20;;; This file is part of GNU Guix.
21;;;
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.
26;;;
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.
31;;;
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/>.
34
35(define-module (gnu packages perl-check)
36 #:use-module (guix licenses)
37 #:use-module (gnu packages)
9a3fb60c 38 #:use-module (gnu packages valgrind)
5c360e48 39 #:use-module (gnu packages web)
5ccde207
RW
40 #:use-module (guix packages)
41 #:use-module (guix download)
42 #:use-module (guix build-system perl)
43 #:use-module (gnu packages perl))
44
f1a2cb94
TGR
45;;;
46;;; Please: Try to add new module packages in alphabetic order.
47;;;
48
49\f
c8749b02
TGR
50(define-public perl-mock-config
51 (package
52 (name "perl-mock-config")
53 (version "0.03")
54 (source
55 (origin
56 (method url-fetch)
57 (uri (string-append "mirror://cpan/authors/id/R/RU/RURBAN/Mock-Config-"
58 version ".tar.gz"))
59 (sha256
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")
64 (description
65 "The @code{Mock::Config} Perl module allows temporarily setting and
66overriding @code{Config} values, even for the readonly @code{XSConfig}
67implementation as used in cperl. It does not store the mocked overrides
68lexically, just dynamically.")
69 (license artistic2.0)))
70
78b2034b 71(define-public perl-test2-suite
5ccde207 72 (package
78b2034b 73 (name "perl-test2-suite")
5ccde207
RW
74 (version "0.000072")
75 (source
76 (origin
77 (method url-fetch)
78 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/Test2-Suite-"
79 version ".tar.gz"))
80 (sha256
81 (base32
82 "0hgd6n29qjh1pwqvbglm2kb852yqshmixqqjhsr2kvvibdr58qpf"))))
83 (build-system perl-build-system)
84 (arguments
85 '(#:phases
86 (modify-phases %standard-phases
87 (add-after 'unpack 'set-env
4851af9e 88 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
5ccde207
RW
89 (propagated-inputs
90 `(("perl-importer" ,perl-importer)
91 ("perl-term-table" ,perl-term-table)
92 ("perl-sub-info" ,perl-sub-info)))
78b2034b 93 (home-page "https://metacpan.org/pod/Test2-Suite")
5ccde207
RW
94 (synopsis "Full set of tools for Test2::Suite")
95 (description "This package provides a rich set of tools, plugins, bundles,
96etc built upon the Test2 testing library.")
97 (license perl-license)))
98
99(define-public perl-test2-plugin-nowarnings
100 (package
101 (name "perl-test2-plugin-nowarnings")
102 (version "0.06")
103 (source
104 (origin
105 (method url-fetch)
106 (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/Test2-Plugin-NoWarnings-"
107 version ".tar.gz"))
108 (sha256
109 (base32
110 "002qk6qsm0l6r2kaxywvc38w0yf0mlavgywq8li076pn6kcw3242"))))
111 (build-system perl-build-system)
9afbfc7a
TGR
112 (native-inputs
113 `(("perl-ipc-run3" ,perl-ipc-run3)))
5ccde207 114 (propagated-inputs
78b2034b 115 `(("perl-test2-suite" ,perl-test2-suite)))
9aba9b12 116 (home-page "https://metacpan.org/release/Test2-Plugin-NoWarnings")
5ccde207
RW
117 (synopsis "Fail if tests warn")
118 (description "Loading this plugin causes your tests to fail if there any
119warnings while they run. Each warning generates a new failing test and the
120warning content is outputted via diag.")
121 (license perl-license)))
122
123(define-public perl-test-base
124 (package
125 (name "perl-test-base")
79a9dee6 126 (version "0.89")
5ccde207
RW
127 (source
128 (origin
129 (method url-fetch)
130 (uri (string-append "mirror://cpan/authors/id/I/IN/INGY/"
131 "Test-Base-" version ".tar.gz"))
132 (sha256
133 (base32
79a9dee6 134 "056hibgg3i2b89mwr76vyxi6ayb3hqjqcwicvn3s5lximsma3517"))))
5ccde207
RW
135 (build-system perl-build-system)
136 (native-inputs
137 `(("perl-algorithm-diff" ,perl-algorithm-diff)
138 ("perl-text-diff" ,perl-text-diff)))
139 (propagated-inputs
140 `(("perl-spiffy" ,perl-spiffy)
141 ("perl-test-deep" ,perl-test-deep)))
9aba9b12 142 (home-page "https://metacpan.org/release/Test-Base")
5ccde207
RW
143 (synopsis "Data-driven testing framework for Perl")
144 (description "Test::Base gives a way to trivially write your own test
145framework base class. It concentrates on offering reusable data driven
146patterns, so that you can write tests with a minimum of code.")
147 (license perl-license)))
148
c1a4e783
CB
149(define-public perl-test-checkdeps
150 (package
151 (name "perl-test-checkdeps")
152 (version "0.010")
153 (source
154 (origin
155 (method url-fetch)
156 (uri (string-append
157 "mirror://cpan/authors/id/L/LE/LEONT/Test-CheckDeps-"
158 version
159 ".tar.gz"))
160 (sha256
161 (base32
162 "1vjinlixxdx6gfcw8y1dw2rla8bfhi8nmgcqr3nffc7kqskcrz36"))))
163 (build-system perl-build-system)
164 (propagated-inputs
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")
168 (description
169 "This module provides a test that checks all dependencies have been
170installed properly.")
171 (license perl-license)))
172
5ccde207
RW
173(define-public perl-test-class
174 (package
175 (name "perl-test-class")
176 (version "0.50")
177 (source
178 (origin
179 (method url-fetch)
180 (uri (string-append
181 "https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Class-"
182 version
183 ".tar.gz"))
184 (sha256
185 (base32
186 "0l0kk5jvxjkic2jkf1r7v41irb344aasnzr3f5ygjgxgiknm9489"))))
187 (build-system perl-build-system)
188 (native-inputs
189 `(("perl-test-exception" ,perl-test-exception)))
190 (inputs
191 `(("perl-module-runtime" ,perl-module-runtime)
192 ("perl-mro-compat" ,perl-mro-compat)
193 ("perl-try-tiny" ,perl-try-tiny)))
9aba9b12 194 (home-page "https://metacpan.org/release/Test-Class")
5ccde207
RW
195 (synopsis "Easily create test classes in an xUnit/JUnit style")
196 (description "@code{Test::Class} provides a simple way of creating classes
197and objects to test your code in an xUnit style.
198
199Built 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)))
203
204(define-public perl-test-class-most
205 (package
206 (name "perl-test-class-most")
207 (version "0.08")
208 (source
209 (origin
210 (method url-fetch)
211 (uri (string-append
212 "mirror://cpan/authors/id/O/OV/OVID/Test-Class-Most-"
213 version
214 ".tar.gz"))
215 (sha256
216 (base32
217 "1zvx9hil0mg0pnb8xfa4m0xgjpvh8s5gnbyprq3xwpdsdgcdwk33"))))
218 (build-system perl-build-system)
219 (native-inputs
220 `(("perl-module-build" ,perl-module-build)))
221 (inputs
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)))
9aba9b12 227 (home-page "https://metacpan.org/release/Test-Class-Most")
5ccde207
RW
228 (synopsis "Test classes the easy way")
229 (description "@code{Test::Class::Most} provides some more convenience when
230using @code{Test::Class}.")
231 (license perl-license)))
232
233(define-public perl-test-cleannamespaces
234 (package
235 (name "perl-test-cleannamespaces")
88c2cb5e 236 (version "0.24")
5ccde207
RW
237 (source
238 (origin
239 (method url-fetch)
240 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
241 "Test-CleanNamespaces-" version ".tar.gz"))
242 (sha256
88c2cb5e 243 (base32 "0yijspncqgmbkkxrh66xx1pliajar05yqhzq6m4nb6p8x1lmb39k"))))
5ccde207
RW
244 (build-system perl-build-system)
245 (native-inputs
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)
5ccde207
RW
250 ("perl-test-needs" ,perl-test-needs)))
251 (propagated-inputs
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)))
9aba9b12 258 (home-page "https://metacpan.org/release/Test-CleanNamespaces")
5ccde207
RW
259 (synopsis "Check for uncleaned imports")
260 (description "This module lets you check your module's namespaces for
261imported functions you might have forgotten to remove with
262namespace::autoclean or namespace::clean and are therefore available to be
263called as methods, which usually isn't want you want.")
264 (license perl-license)))
265
266(define-public perl-test-command
267 (package
268 (name "perl-test-command")
269 (version "0.11")
270 (source (origin
271 (method url-fetch)
272 (uri (string-append
273 "mirror://cpan/authors/id/D/DA/DANBOO/Test-Command-"
274 version ".tar.gz"))
275 (sha256
276 (base32
277 "0cwm3c4d49mdrbm6vgh78b3x8mk730l0zg8i7xb9z8bkx9pzr8r8"))))
278 (build-system perl-build-system)
279 (native-inputs
280 `(("perl-module-build" ,perl-module-build)))
281 (home-page "https://github.com/danboo/perl-test-command")
282 (synopsis "Test routines for external commands")
283 (description
284 "This module provides routines for testing the exit status, standard
285output and standard error of external commands.")
286 (license perl-license)))
287
288(define-public perl-test-cpan-meta
289 (package
290 (name "perl-test-cpan-meta")
291 (version "0.25")
292 (source
293 (origin
294 (method url-fetch)
295 (uri (string-append
296 "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-"
297 version
298 ".tar.gz"))
299 (sha256
300 (base32
301 "1dcdbbdwdyhpldkhjzc9rvzlmb5jbil6fwh2x07nsfdwysf4ynzm"))))
302 (build-system perl-build-system)
303 (native-inputs
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)))
307 (home-page
9aba9b12 308 "https://metacpan.org/release/Test-CPAN-Meta")
5ccde207
RW
309 (synopsis "Validate your CPAN META.yml files")
310 (description
311 "This module was written to ensure that a META.yml file meets the
312specification.")
313 (license artistic2.0)))
314
315(define-public perl-test-cpan-meta-json
316 (package
317 (name "perl-test-cpan-meta-json")
318 (version "0.16")
319 (source
320 (origin
321 (method url-fetch)
322 (uri (string-append
323 "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-JSON-"
324 version
325 ".tar.gz"))
326 (sha256
327 (base32
328 "1jg9ka50ixwq083wd4k12rhdjq87w0ihb34gd8jjn7gvvyd51b37"))))
329 (build-system perl-build-system)
330 (native-inputs
331 `(("perl-test-pod" ,perl-test-pod)
332 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
333 (inputs
334 `(("perl-json" ,perl-json)))
335 (home-page
9aba9b12 336 "https://metacpan.org/release/Test-CPAN-Meta-JSON")
5ccde207
RW
337 (synopsis "Validate your CPAN META.json files")
338 (description
339 "This module was written to ensure that a META.json file meets the
340specification.")
341 (license artistic2.0)))
342
343(define-public perl-test-deep
344 (package
345 (name "perl-test-deep")
346 (version "1.120")
347 (source (origin
348 (method url-fetch)
349 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
350 "Test-Deep-" version ".tar.gz"))
351 (sha256
352 (base32
353 "1kdy06r0yg7zwarqglc9163vbfb0sfc4s6ld4pw5q7i9f7mghzi0"))))
354 (build-system perl-build-system)
009b4b43 355 (inputs `(("perl-test-nowarnings" ,perl-test-nowarnings)))
5ccde207
RW
356 (synopsis "Flexible deep comparison for the Test::Builder framework")
357 (description
358 "Test::Deep compares two structures by going through each level, ensuring
359that the values match, that arrays and hashes have the same elements and that
360references are blessed into the correct class. It also handles circular data
361structures without getting caught in an infinite loop.")
9aba9b12 362 (home-page "https://metacpan.org/release/Test-Deep")
5ccde207
RW
363 (license gpl1+))) ; or "Artistic License"
364
365(define-public perl-test-differences
366 (package
367 (name "perl-test-differences")
2ad839f3 368 (version "0.67")
5ccde207
RW
369 (source
370 (origin
371 (method url-fetch)
372 (uri (string-append "mirror://cpan/authors/id/D/DC/DCANTRELL/"
373 "Test-Differences-" version ".tar.gz"))
374 (sha256
2ad839f3 375 (base32 "1nkqr3m4lbzw7fkkzah42aiqlhxapamk6kw7hj90cjwkifsbp3f8"))))
5ccde207
RW
376 (build-system perl-build-system)
377 (native-inputs
378 `(("perl-module-build" ,perl-module-build)))
379 (propagated-inputs
380 `(("perl-text-diff" ,perl-text-diff)
381 ("perl-capture-tiny" ,perl-capture-tiny)))
9aba9b12 382 (home-page "https://metacpan.org/release/Test-Differences")
5ccde207
RW
383 (synopsis "Test strings and data structures and show differences")
384 (description "This module exports three test functions and four diff-style
385functions.")
386 ;; See LICENSE section of Test/Differences.pm, which reads "... GNU public
387 ;; license, any version, ..."
388 (license gpl3+)))
389
9c5551c4
CB
390(define-public perl-test-dir
391 (package
392 (name "perl-test-dir")
393 (version "1.16")
394 (source
395 (origin
396 (method url-fetch)
397 (uri (string-append "mirror://cpan/authors/id/M/MT/MTHURN/"
398 "Test-Dir-" version ".tar.gz"))
399 (sha256
400 (base32
401 "1hpafgr93jjl6s8spskhdxhgich4cccmaiq99mla5diyj4iv6ckk"))))
402 (build-system perl-build-system)
403 (propagated-inputs
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")
409 (description
410 "This modules provides a collection of test utilities for directory
411attributes.")
412 (license perl-license)))
413
5ccde207
RW
414(define-public perl-test-directory
415 (package
416 (name "perl-test-directory")
417 (version "0.041")
418 (source
419 (origin
420 (method url-fetch)
421 (uri (string-append "mirror://cpan/authors/id/S/SA/SANBEG/"
422 "Test-Directory-" version ".tar.gz"))
423 (sha256
424 (base32
425 "1ncql08cizhicbxwd753b4czns8nlcnlw0zfjcfrbdd41x4j6hqr"))))
426 (build-system perl-build-system)
427 (native-inputs `(("perl-test-exception" ,perl-test-exception)))
9aba9b12 428 (home-page "https://metacpan.org/release/Test-Directory")
5ccde207
RW
429 (synopsis "Perl extension for maintaining test directories")
430 (description "Testing code can involve making sure that files are created
431and deleted as expected. Doing this manually can be error prone, as it's easy
432to forget a file, or miss that some unexpected file was added. This module
433simplifies maintaining test directories by tracking their status as they are
434modified or tested with this API, making it simple to test both individual
435files, as well as to verify that there are no missing or unknown files.")
436 (license perl-license)))
437
52b1551b
KK
438(define-public perl-test-distmanifest
439 (package
440 (name "perl-test-distmanifest")
441 (version "1.014")
442 (source
443 (origin
444 (method url-fetch)
445 (uri (string-append
446 "mirror://cpan/authors/id/E/ET/ETHER/Test-DistManifest-"
447 version ".tar.gz"))
448 (sha256
449 (base32 "1ifpff5simjslabwy7ac6kdylv4c0b5b39fgpwf9ha16yh6w49ix"))))
450 (build-system perl-build-system)
451 (native-inputs
452 `(("perl-module-build" ,perl-module-build)))
453 (propagated-inputs
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}")
457 (description
458 "@code{Test::DistManifest} provides a simple method of testing that a
459@file{MANIFEST} file matches its distribution.")
460 (license perl-license)))
461
ab82124f
PG
462(define-public perl-test-distribution
463 (package
464 (name "perl-test-distribution")
465 (version "2.00")
466 (source
467 (origin
468 (method url-fetch)
469 (uri (string-append
470 "mirror://cpan/authors/id/S/SR/SRSHAH/Test-Distribution-"
471 version ".tar.gz"))
472 (sha256
473 (base32
474 "0s1bj459qaw2x1fckklv9irpf3mr8gp2cm9vlyrb5dyanrzx1v2h"))))
475 (build-system perl-build-system)
476 (native-inputs
477 `(("perl-module-build" ,perl-module-build)))
478 (propagated-inputs
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}
486goes through all the modules in your distribution, checks their POD,
487checks that they compile successfully and checks that they all define
488a $VERSION. In addition, this module performs a number of tests on
489the distribution itself. It checks that the distributed files match
490the SIGNATURE file, if that file exists. It checks that the
491distribution is not missing any core description files. It also
492checks that the complete set of pre-requisite packages are listed in
493the Makefile.PL file.")
494 (license perl-license)))
495
5ccde207
RW
496(define-public perl-test-eol
497 (package
498 (name "perl-test-eol")
499 (version "2.00")
500 (source
501 (origin
502 (method url-fetch)
503 (uri (string-append
504 "mirror://cpan/authors/id/E/ET/ETHER/Test-EOL-"
505 version
506 ".tar.gz"))
507 (sha256
508 (base32
509 "0l3bxpsw0x7j9nclizcp53mnf9wny25dmg2iglfhzgnk0xfpwzwf"))))
510 (build-system perl-build-system)
511 (home-page
9aba9b12 512 "https://metacpan.org/release/Test-EOL")
5ccde207
RW
513 (synopsis
514 "Check the correct line endings in your project")
515 (description
516 "@code{Test::EOL} lets you check for the presence of trailing whitespace
517and/or windows line endings in your perl code.")
518 (license perl-license)))
519
520(define-public perl-test-exception
521 (package
522 (name "perl-test-exception")
523 (version "0.43")
524 (source
525 (origin
526 (method url-fetch)
527 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
528 "Test-Exception-" version ".tar.gz"))
529 (sha256
530 (base32
531 "0cxm7s4bg0xpxa6l6996a6iq3brr4j7p4hssnkc6dxv4fzq16sqm"))))
532 (build-system perl-build-system)
533 (native-inputs
534 `(("perl-module-build" ,perl-module-build)))
535 (propagated-inputs
536 `(("perl-sub-uplevel" ,perl-sub-uplevel)))
9aba9b12 537 (home-page "https://metacpan.org/release/Test-Exception")
5ccde207
RW
538 (synopsis "Test exception based code")
539 (description "This module provides a few convenience methods for testing
540exception based code. It is built with Test::Builder and plays happily with
541Test::More and friends.")
542 (license perl-license)))
543
12d330b0
OP
544(define-public perl-test-failwarnings
545 (package
546 (name "perl-test-failwarnings")
547 (version "0.008")
548 (source
549 (origin
550 (method url-fetch)
551 (uri (string-append
552 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-"
553 version ".tar.gz"))
554 (sha256
555 (base32
556 "0vx9chcp5x8m0chq574p9fnfckh5gl94j7904rh9v17n568fyd6s"))))
557 (build-system perl-build-system)
558 (native-inputs
559 `(("perl-capture-tiny" ,perl-capture-tiny)))
9aba9b12 560 (home-page "https://metacpan.org/release/Test-FailWarnings")
12d330b0
OP
561 (synopsis "Add test failures if warnings are caught")
562 (description
563 "Test::FailWarnings adds test failures if warnings are caught.")
564 (license asl2.0)))
565
5ccde207
RW
566(define-public perl-test-fatal
567 (package
568 (name "perl-test-fatal")
569 (version "0.014")
570 (source
571 (origin
572 (method url-fetch)
573 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
574 "Test-Fatal-" version ".tar.gz"))
575 (sha256
576 (base32
577 "1c6bs68mss4q7cyapkv2c0jn66i21050p0faxf3s3417gdffzp5w"))))
578 (build-system perl-build-system)
579 (propagated-inputs `(("perl-try-tiny" ,perl-try-tiny)))
9aba9b12 580 (home-page "https://metacpan.org/release/Test-Fatal")
5ccde207
RW
581 (synopsis "Simple helpers for testing code with exceptions")
582 (description "Test::Fatal is an alternative to the popular
583Test::Exception. It does much less, but should allow greater flexibility in
584testing exception-throwing code with about the same amount of typing.")
585 (license perl-license)))
586
402cfebf
CB
587(define-public perl-test-file
588 (package
589 (name "perl-test-file")
590 (version "1.443")
591 (source
592 (origin
593 (method url-fetch)
594 (uri (string-append
595 "mirror://cpan/authors/id/B/BD/BDFOY/Test-File-"
596 version
597 ".tar.gz"))
598 (sha256
599 (base32
600 "1mdwb3x8d4l24wsymamsnq2c73a637v4q5kmb5xqqz31iymsdd31"))))
601 (build-system perl-build-system)
602 (native-inputs
603 `(("perl-test-utf8" ,perl-test-utf8)))
604 (home-page "https://metacpan.org/release/Test-File")
605 (synopsis "Utilities for testing file attributes")
606 (description
607 "@code{Test::File} provides a collection of test utilities for file
608attributes.")
609 (license perl-license)))
610
709a9e92
CB
611(define-public perl-test-file-contents
612 (package
613 (name "perl-test-file-contents")
614 (version "0.23")
615 (source
616 (origin
617 (method url-fetch)
618 (uri (string-append
619 "mirror://cpan/authors/id/D/DW/DWHEELER/Test-File-Contents-"
620 version
621 ".tar.gz"))
622 (sha256
623 (base32
624 "0g8zgfyw84181snw7ghahnl9r4lrmlfj7zwi76sv8d0bj7xssvyd"))))
625 (build-system perl-build-system)
626 (native-inputs
627 `(("perl-module-build" ,perl-module-build)))
628 (propagated-inputs
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")
634 (description
635 "@{Test::File::Contents} provides functions for testing the contents of
636files.")
637 (license perl-license)))
638
5ccde207
RW
639(define-public perl-test-file-sharedir-dist
640 (package
641 (name "perl-test-file-sharedir-dist")
642 (version "1.001002")
643 (source
644 (origin
645 (method url-fetch)
646 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
647 "Test-File-ShareDir-" version ".tar.gz"))
648 (sha256
649 (base32
650 "1bbs6cx69wcinq77gif4i4pmrj8a7lwb92sgvvxzrwmjnk5lfdmk"))))
651 (build-system perl-build-system)
652 (propagated-inputs
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
662for testing.")
663 (license perl-license)))
664
ab125315
OP
665(define-public perl-test-filename
666 (package
667 (name "perl-test-filename")
668 (version "0.03")
669 (source
670 (origin
671 (method url-fetch)
672 (uri (string-append
673 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-Filename-"
674 version ".tar.gz"))
675 (sha256
676 (base32
677 "1gpw4mjw68gnby8s4cifvbz6g2923xsc189jkw9d27i8qv20qiba"))))
678 (build-system perl-build-system)
679 (propagated-inputs
680 `(("perl-path-tiny" ,perl-path-tiny)))
9aba9b12 681 (home-page "https://metacpan.org/release/Test-Filename")
ab125315
OP
682 (synopsis "Portable filename comparison")
683 (description "Test::Filename provides functions to convert all path
684separators automatically.")
685 (license asl2.0)))
686
5ccde207
RW
687(define-public perl-test-files
688 (package
689 (name "perl-test-files")
690 (version "0.14")
691 (source
692 (origin
693 (method url-fetch)
694 (uri (string-append
695 "mirror://cpan/authors/id/P/PH/PHILCROW/Test-Files-"
696 version
697 ".tar.gz"))
698 (sha256
699 (base32
700 "1zn33yigznq7i1jr4yjr4lxvc6bn7znkbqdzj7slhc146pqapkln"))))
701 (build-system perl-build-system)
702 (propagated-inputs
703 `(("perl-algorithm-diff" ,perl-algorithm-diff)
704 ("perl-text-diff" ,perl-text-diff)))
9aba9b12 705 (home-page "https://metacpan.org/release/Test-Files")
5ccde207
RW
706 (synopsis "Ease software testing with files and directories")
707 (description "This library provides functions to enable testing of files
708and directories. For instance, the @code{file_ok} helper can test whether the
709contents of a file is equal to a particular string.")
710 (license perl-license)))
711
712(define-public perl-test-harness
713 (package
714 (name "perl-test-harness")
39199eb4 715 (version "3.42")
5ccde207
RW
716 (source
717 (origin
718 (method url-fetch)
719 (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/"
720 "Test-Harness-" version ".tar.gz"))
721 (sha256
39199eb4 722 (base32 "0lwfaamhpqia0ks4pcci83xbqz6jhng7acv95qk6wbd8zr70vn8g"))))
5ccde207
RW
723 (build-system perl-build-system)
724 (arguments
725 `(#:phases
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"
732 (("#!/usr/bin/perl")
733 (string-append "#!" (assoc-ref inputs "perl")
734 "/bin/perl")))
735 #t)))))
9aba9b12 736 (home-page "https://metacpan.org/release/Test-Harness")
5ccde207
RW
737 (synopsis "Run Perl standard test scripts with statistics")
738 (description "Simple test harness which allows tests to be run and results
739automatically aggregated and output to STDOUT.")
740 (license perl-license)))
741
742(define-public perl-test-leaktrace
743 (package
744 (name "perl-test-leaktrace")
745 (version "0.16")
746 (source
747 (origin
748 (method url-fetch)
749 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
750 "Test-LeakTrace-" version ".tar.gz"))
751 (sha256
752 (base32
753 "00z4hcjra5nk700f3fgpy8fs036d7ry7glpn8g3wh7jzj7nrw22z"))))
754 (build-system perl-build-system)
9aba9b12 755 (home-page "https://metacpan.org/release/Test-LeakTrace")
5ccde207
RW
756 (synopsis "Traces memory leaks in Perl")
757 (description "Test::LeakTrace provides several functions that trace memory
758leaks. This module scans arenas, the memory allocation system, so it can
759detect any leaked SVs in given blocks.")
760 (license perl-license)))
761
762(define-public perl-test-longstring
763 (package
764 (name "perl-test-longstring")
765 (version "0.17")
766 (source
767 (origin
768 (method url-fetch)
769 (uri (string-append "mirror://cpan/authors/id/R/RG/RGARCIA/"
770 "Test-LongString-" version ".tar.gz"))
771 (sha256
772 (base32
773 "0kwp7rfr1i2amz4ckigkv13ah7jr30q6l5k4wk0vxl84myg39i5b"))))
774 (build-system perl-build-system)
9aba9b12 775 (home-page "https://metacpan.org/release/Test-LongString")
5ccde207
RW
776 (synopsis "Tests strings for equality, with more helpful failures")
777 (description "This module provides some drop-in replacements for the
778string comparison functions of Test::More, but which are more suitable when
779you test against long strings.")
780 (license perl-license)))
781
782(define-public perl-test-manifest
783 (package
784 (name "perl-test-manifest")
e1abfc76 785 (version "2.021")
5ccde207
RW
786 (source (origin
787 (method url-fetch)
788 (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/"
789 "Test-Manifest-" version ".tar.gz"))
790 (sha256
791 (base32
e1abfc76 792 "1n9jscnni24sbp4v5gjlcy3iknfwvmy0731xwvk1c3jq3kbslym4"))))
5ccde207
RW
793 (build-system perl-build-system)
794 (native-inputs
795 `(("perl-test-pod" ,perl-test-pod)
796 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
9aba9b12 797 (home-page "https://metacpan.org/release/Test-Manifest")
5ccde207
RW
798 (synopsis "Interact with a t/test_manifest file")
799 (description "@code{Test::Manifest} overrides the default test file order. Instead of
800running all of the t/*.t files in ASCII-betical order, it looks in the t/test_manifest
801file to find out which tests you want to run and the order in which you want to run them.
802It constructs the right value for the build system to do the right thing.")
803 (license perl-license)))
804
805(define-public perl-test-memory-cycle
806 (package
807 (name "perl-test-memory-cycle")
808 (version "1.06")
809 (source
810 (origin
811 (method url-fetch)
812 (uri (string-append
813 "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-"
814 version
815 ".tar.gz"))
816 (sha256
817 (base32
818 "00ijmgx1r3cxrcs1qa9rb2s4gbm3nsawd90drda89kb4r7yxslwx"))))
819 (build-system perl-build-system)
820 (inputs
821 `(("perl-padwalker" ,perl-padwalker)))
822 (propagated-inputs
823 `(("perl-devel-cycle" ,perl-devel-cycle)))
824 (home-page
9aba9b12 825 "https://metacpan.org/release/Test-Memory-Cycle")
5ccde207
RW
826 (synopsis
827 "Verifies code hasn't left circular references")
828 (description
829 "@code{Test::Memory::Cycle} is built on top of @code{Devel::Cycle} to
830give you an easy way to check for these circular references.
831
832@example
833use Test::Memory::Cycle;
834
835my $object = new MyObject;
836# Do stuff with the object.
837memory_cycle_ok( $object );
838@end example")
839 (license artistic2.0)))
840
d948fe7c
TGR
841(define-public perl-test-mockmodule
842 (package
843 (name "perl-test-mockmodule")
d195f623 844 (version "0.171.0")
d948fe7c
TGR
845 (source
846 (origin
847 (method url-fetch)
848 (uri (string-append "mirror://cpan/authors/id/G/GF/GFRANKS/"
31d9f552 849 "Test-MockModule-v" version ".tar.gz"))
d948fe7c 850 (sha256
d195f623 851 (base32 "1arqgb1773zym5dqlwm6kz48bfrccjhb5bjfsif0vkalwq2gvm7b"))))
d948fe7c
TGR
852 (build-system perl-build-system)
853 (native-inputs
854 `(("perl-module-build" ,perl-module-build)
855 ;; For tests.
856 ("perl-test-pod" ,perl-test-pod)
31d9f552
EF
857 ("perl-test-pod-coverage" ,perl-test-pod-coverage)
858 ("perl-test-warnings" ,perl-test-warnings)))
d948fe7c
TGR
859 (propagated-inputs
860 `(("perl-super" ,perl-super)))
9aba9b12 861 (home-page "https://metacpan.org/release/Test-MockModule")
d948fe7c
TGR
862 (synopsis "Override subroutines in a module for unit testing")
863 (description
864 "@code{Test::MockModule} lets you temporarily redefine subroutines in other
865packages for the purposes of unit testing. A @code{Test::MockModule} object is
866set up to mock subroutines for a given module. The mocked object remembers the
867original subroutine so it can be easily restored. This happens automatically
868when all @code{MockModule} objects for the given module go out of scope, or when
869you @code{unmock()} the subroutine.")
870 (license gpl3)))
871
5ccde207
RW
872(define-public perl-test-mockobject
873 (package
874 (name "perl-test-mockobject")
5d7e1c80 875 (version "1.20191002")
5ccde207
RW
876 (source
877 (origin
878 (method url-fetch)
879 (uri (string-append "mirror://cpan/authors/id/C/CH/CHROMATIC/"
880 "Test-MockObject-" version ".tar.gz"))
881 (sha256
5d7e1c80 882 (base32 "160r36j727hw6syazh6sfq862f95dp1zcga0nil7cjlry77lqsn7"))))
5ccde207
RW
883 (build-system perl-build-system)
884 (native-inputs
5c360e48
TGR
885 `(("perl-cgi" ,perl-cgi)
886 ("perl-test-exception" ,perl-test-exception)
5ccde207
RW
887 ("perl-test-warn" ,perl-test-warn)))
888 (propagated-inputs
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)))
9aba9b12 893 (home-page "https://metacpan.org/release/Test-MockObject")
5ccde207
RW
894 (synopsis "Emulate troublesome interfaces in Perl")
895 (description "Test::MockObject allows you to create objects that conform
896to particular interfaces with very little code. You don't have to reimplement
897the behavior, just the input and the output.")
898 (license perl-license)))
899
900(define-public perl-test-mocktime
901 (package
902 (name "perl-test-mocktime")
17ed9595 903 (version "0.17")
5ccde207
RW
904 (source
905 (origin
906 (method url-fetch)
907 (uri (string-append "mirror://cpan/authors/id/D/DD/DDICK/"
908 "Test-MockTime-" version ".tar.gz"))
909 (sha256
17ed9595 910 (base32 "1y820qsq7yf7r6smy5c6f0mpf2cis2q24vwmpim1svv0n8cf2qrk"))))
ab998d5e
TGR
911 (propagated-inputs
912 `(("perl-time-piece" ,perl-time-piece)))
5ccde207 913 (build-system perl-build-system)
9aba9b12 914 (home-page "https://metacpan.org/release/Test-MockTime")
5ccde207
RW
915 (synopsis "Replaces actual time with simulated time")
916 (description "This module was created to enable test suites to test code
917at specific points in time. Specifically it overrides localtime, gmtime and
918time at compile time and then relies on the user supplying a mock time via
919set_relative_time, set_absolute_time or set_fixed_time to alter future calls
920to gmtime,time or localtime.")
921 (license perl-license)))
922
26eb9260
EF
923(define-public perl-test-more-utf8
924 (package
925 (name "perl-test-more-utf8")
926 (version "0.05")
927 (source
928 (origin
929 (method url-fetch)
930 (uri (string-append
931 "mirror://cpan/authors/id/M/MO/MONS/Test-More-UTF8-"
932 version ".tar.gz"))
933 (sha256
934 (base32
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
36a4366d
EF
940used @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
942easy use flagged strings without warnings like \"Wide character in print
943@dots{}\"")
26eb9260
EF
944 (license perl-license)))
945
5ccde207
RW
946(define-public perl-test-most
947 (package
948 (name "perl-test-most")
697a958a 949 (version "0.35")
5ccde207
RW
950 (source
951 (origin
952 (method url-fetch)
953 (uri (string-append "mirror://cpan/authors/id/O/OV/OVID/"
954 "Test-Most-" version ".tar.gz"))
955 (sha256
956 (base32
697a958a 957 "0zv5dyzq55r28plffibcr7wd00abap0h2zh4s4p8snaiszsad5wq"))))
5ccde207
RW
958 (build-system perl-build-system)
959 (propagated-inputs
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)))
9aba9b12 965 (home-page "https://metacpan.org/release/Test-Most")
5ccde207
RW
966 (synopsis "Most commonly needed test functions and features")
967 (description "This module provides the most commonly used testing
968functions, along with automatically turning on strict and warning and gives a
969bit more fine-grained control over test suites.")
970 (license perl-license)))
971
972(define-public perl-test-needs
973 (package
974 (name "perl-test-needs")
975 (version "0.002005")
976 (source
977 (origin
978 (method url-fetch)
979 (uri (string-append
980 "mirror://cpan/authors/id/H/HA/HAARG/Test-Needs-"
981 version
982 ".tar.gz"))
983 (sha256
984 (base32
985 "16gkgpmr9hvkz382iaqd3500269lk2d44fqaw3dsrvc66nc36kss"))))
986 (build-system perl-build-system)
987 (home-page
9aba9b12 988 "https://metacpan.org/release/Test-Needs")
5ccde207
RW
989 (synopsis
990 "Skip tests when modules not available")
991 (description "@code{Test::Needs} allows you to skip test scripts if
992modules are not available. The requested modules will be loaded, and
993optionally have their versions checked. If the module is missing, the test
994script will be skipped. Modules that are found but fail to compile will exit
995with an error rather than skip.
996
997If used in a subtest, the remainder of the subtest will be skipped.")
998 (license perl-license)))
999
1000(define-public perl-test-notabs
1001 (package
1002 (name "perl-test-notabs")
a7999e2d 1003 (version "2.02")
5ccde207
RW
1004 (source
1005 (origin
1006 (method url-fetch)
1007 (uri (string-append
1008 "mirror://cpan/authors/id/E/ET/ETHER/Test-NoTabs-"
1009 version
1010 ".tar.gz"))
1011 (sha256
1012 (base32
a7999e2d 1013 "0c306p9qdpa2ycii3c50hml23mwy6bjxpry126g1dw11hyiwcxgv"))))
5ccde207
RW
1014 (build-system perl-build-system)
1015 (home-page
9aba9b12 1016 "https://metacpan.org/release/Test-NoTabs")
5ccde207
RW
1017 (synopsis
1018 "Check the presence of tabs in your project")
1019 (description
1020 "@code{Test::NoTabs} lets you check the presence of tabs in your perl
1021code.")
1022 (license perl-license)))
1023
1024(define-public perl-test-nowarnings
1025 (package
1026 (name "perl-test-nowarnings")
1027 (version "1.04")
1028 (source (origin
1029 (method url-fetch)
1030 (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
1031 "Test-NoWarnings-" version ".tar.gz"))
1032 (sha256
1033 (base32
1034 "0v385ch0hzz9naqwdw2az3zdqi15gka76pmiwlgsy6diiijmg2k3"))))
1035 (build-system perl-build-system)
5ccde207
RW
1036 (synopsis "Ensure no warnings are produced while testing")
1037 (description
1038 "This modules causes any warnings during testing to be captured and
1039stored. It automatically adds an extra test that will run when your script
1040ends to check that there were no warnings. If there were any warnings, the
1041test will fail and output diagnostics of where, when and what the warning was,
1042including a stack trace of what was going on when it occurred.")
9aba9b12 1043 (home-page "https://metacpan.org/release/Test-NoWarnings")
5ccde207
RW
1044 (license lgpl2.1)))
1045
1046(define-public perl-test-number-delta
1047 (package
1048 (name "perl-test-number-delta")
1049 (version "1.06")
1050 (source (origin
1051 (method url-fetch)
1052 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
1053 "Test-Number-Delta-" version ".tar.gz"))
1054 (sha256
1055 (base32
1056 "0jfhzhpzkc23mkrlbnv085ykpfncmy99hvppbzjnrpvgks8k0m2k"))))
1057 (build-system perl-build-system)
9aba9b12 1058 (home-page "https://metacpan.org/release/Test-Number-Delta")
5ccde207
RW
1059 (synopsis
1060 "Compare the difference between numbers against a given tolerance")
1061 (description
1062 "At some point or another, most programmers find they need to compare
1063floating-point numbers for equality. The typical idiom is to test if the
1064absolute value of the difference of the numbers is within a desired tolerance,
1065usually called epsilon. This module provides such a function for use with
1066@code{Test::More}.")
1067 (license asl2.0)))
1068
e72b40af
NG
1069(define-public perl-test-object
1070 (package
1071 (name "perl-test-object")
1072 (version "0.08")
1073 (source
1074 (origin
1075 (method url-fetch)
1076 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1077 "Test-Object-" version ".tar.gz"))
1078 (sha256
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")
1083 (description
1084 "In situations where you have deep trees of classes,
1085there is a common situation in which you test a module 4 or 5 subclasses down,
1086which should follow the correct behaviour of not just the subclass, but of all
1087the parent classes.
1088
1089This should be done to ensure that the implementation of a subclass has not
1090somehow ``broken'' the object's behaviour in a more general sense.
1091
1092Test::Object is a testing package designed to allow you to easily test what
1093you believe is a valid object against the expected behaviour of all of the
1094classes in its inheritance tree in one single call.")
1095 (license perl-license)))
1096
5ccde207
RW
1097(define-public perl-test-output
1098 (package
1099 (name "perl-test-output")
8cb72202 1100 (version "1.031")
5ccde207
RW
1101 (source (origin
1102 (method url-fetch)
1103 (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/"
1104 "Test-Output-" version ".tar.gz"))
1105 (sha256
1106 (base32
8cb72202 1107 "193y1xjvgc1p9pdgdwps2127knvpz9wc1xh6gmr74y3ihmqz7f7q"))))
5ccde207
RW
1108 (build-system perl-build-system)
1109 (propagated-inputs
1110 `(("perl-capture-tiny" ,perl-capture-tiny)
5ccde207
RW
1111 ("perl-sub-exporter" ,perl-sub-exporter)))
1112 (synopsis "Utilities to test STDOUT and STDERR messages")
1113 (description
1114 "Test::Output provides a simple interface for testing output sent to
1115STDOUT or STDERR. A number of different utilities are included to try and be
1116as flexible as possible to the tester.")
9aba9b12 1117 (home-page "https://metacpan.org/release/Test-Output")
5ccde207
RW
1118 (license perl-license)))
1119
1120(define-public perl-test-pod
1121 (package
1122 (name "perl-test-pod")
cb6fb537 1123 (version "1.52")
5ccde207
RW
1124 (source
1125 (origin
1126 (method url-fetch)
9210fdf8 1127 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
5ccde207
RW
1128 "Test-Pod-" version ".tar.gz"))
1129 (sha256
1130 (base32
cb6fb537 1131 "1z75x1pxwp8ajwq9iazlg2c3wd7rdlim08yclpdg32qnc36dpa30"))))
5ccde207
RW
1132 (build-system perl-build-system)
1133 (native-inputs `(("perl-module-build" ,perl-module-build)))
9aba9b12 1134 (home-page "https://metacpan.org/release/Test-Pod")
5ccde207
RW
1135 (synopsis "Check for POD errors in files")
1136 (description "Check POD files for errors or warnings in a test file, using
1137Pod::Simple to do the heavy lifting.")
1138 (license perl-license)))
1139
1140(define-public perl-test-pod-coverage
1141 (package
1142 (name "perl-test-pod-coverage")
1143 (version "1.10")
1144 (source
1145 (origin
1146 (method url-fetch)
1147 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
1148 "Test-Pod-Coverage-" version ".tar.gz"))
1149 (sha256
1150 (base32
1151 "1m203mhgfilz7iqc8mxaw4lw02fz391mni3n25sfx7nryylwrja8"))))
1152 (build-system perl-build-system)
1153 (propagated-inputs
1154 `(("perl-pod-coverage" ,perl-pod-coverage)))
9aba9b12 1155 (home-page "https://metacpan.org/release/Test-Pod-Coverage")
5ccde207
RW
1156 (synopsis "Check for pod coverage")
1157 (description "This module adds a test to your Perl distribution which
1158checks for pod coverage of all appropriate files.")
1159 (license artistic2.0)))
1160
1161(define-public perl-test-requires
1162 (package
1163 (name "perl-test-requires")
1d1f1b3a 1164 (version "0.10")
5ccde207
RW
1165 (source
1166 (origin
1167 (method url-fetch)
1168 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
1169 "Test-Requires-" version ".tar.gz"))
1170 (sha256
1171 (base32
1d1f1b3a 1172 "1d9f481lj12cw1ciil46xq9nq16p6a90nm7yrsalpf8asn8s6s17"))))
5ccde207 1173 (build-system perl-build-system)
9aba9b12 1174 (home-page "https://metacpan.org/release/Test-Requires")
5ccde207
RW
1175 (synopsis "Checks to see if the module can be loaded")
1176 (description "Test::Requires checks to see if the module can be loaded.
1177If this fails, then rather than failing tests this skips all tests.")
1178 (license perl-license)))
1179
fa79a908
TGR
1180(define-public perl-test-requiresinternet
1181 (package
1182 (name "perl-test-requiresinternet")
1183 (version "0.05")
1184 (source
1185 (origin
1186 (method url-fetch)
1187 (uri (string-append
1188 "mirror://cpan/authors/id/M/MA/MALLEN/Test-RequiresInternet-"
1189 version
1190 ".tar.gz"))
1191 (sha256
1192 (base32
1193 "0gl33vpj9bb78pzyijp884b66sbw6jkh1ci0xki8rmf03hmb79xv"))))
1194 (build-system perl-build-system)
9aba9b12 1195 (home-page "https://metacpan.org/release/Test-RequiresInternet")
fa79a908
TGR
1196 (synopsis "Easily test network connectivity when running tests")
1197 (description
1198 "This Perl module is intended to easily test network connectivity to
1199non-local Internet resources before functional tests begin. If the sockets
1200cannot connect to the specified hosts and ports, the exception is caught and
1201reported, and the tests skipped.")
1202 (license perl-license)))
1203
24eab3c0
OP
1204(define-public perl-test-roo
1205 (package
1206 (name "perl-test-roo")
1207 (version "1.004")
1208 (source
1209 (origin
1210 (method url-fetch)
1211 (uri (string-append
1212 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-Roo-"
1213 version ".tar.gz"))
1214 (sha256
1215 (base32
1216 "1mnym49j1lj7gzylma5b6nr4vp75rmgz2v71904v01xmxhy9l4i1"))))
1217 (build-system perl-build-system)
1218 (native-inputs
1219 `(("perl-capture-tiny" ,perl-capture-tiny)))
1220 (propagated-inputs
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)))
9aba9b12 1227 (home-page "https://metacpan.org/release/Test-Roo")
24eab3c0
OP
1228 (synopsis "Composable, reusable tests with roles and Moo")
1229 (description "Test::Roo provides composable, reusable tests with roles.")
1230 (license asl2.0)))
1231
9a3fb60c
PN
1232(define-public perl-test-runvalgrind
1233 (package
1234 (name "perl-test-runvalgrind")
dedb10b2 1235 (version "0.2.1")
9a3fb60c
PN
1236 (source
1237 (origin
1238 (method url-fetch)
1239 (uri (string-append
1240 "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-RunValgrind-"
1241 version
1242 ".tar.gz"))
1243 (sha256
dedb10b2 1244 (base32 "175hlycrhgwrp7j4rwx5bk4fd6775242wjdqv107rvgsrszsi915"))))
9a3fb60c
PN
1245 (build-system perl-build-system)
1246 (native-inputs
1247 `(("perl-module-build" ,perl-module-build)))
1248 (propagated-inputs
1249 `(("perl-path-tiny" ,perl-path-tiny)
1250 ("perl-test-trap" ,perl-test-trap)
1251 ("valgrind" ,valgrind)))
9aba9b12 1252 (home-page "https://metacpan.org/release/Test-RunValgrind")
9a3fb60c
PN
1253 (synopsis "Tests that an external program is valgrind-clean")
1254 (description "Test::RunValgind checks weather Valgrind does not detect
1255errors (such as memory leaks) in an arbitrary binary executable.")
1256 (license x11)))
1257
5ccde207
RW
1258(define-public perl-test-script
1259 (package
1260 (name "perl-test-script")
1261 (version "1.20")
1262 (source (origin
1263 (method url-fetch)
1264 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
1265 "Test-Script-" version ".tar.gz"))
1266 (sha256
1267 (base32
1268 "1msavbi6przkxq3npm90nv925v58iym9jrk677wn46x19whwzwzm"))))
1269 (build-system perl-build-system)
1270 (propagated-inputs
1271 `(("perl-capture-tiny" ,perl-capture-tiny)
1272 ("perl-probe-perl" ,perl-probe-perl)))
1273 (synopsis "Basic cross-platform tests for scripts")
1274 (description
1275 "The intent of the Test::Script module is to provide a series of basic
1276tests for 80% of the testing you will need to do for scripts in the script (or
1277bin as is also commonly used) paths of your Perl distribution.")
9aba9b12 1278 (home-page "https://metacpan.org/release/Test-Script")
5ccde207
RW
1279 (license perl-license)))
1280
1281(define-public perl-test-sharedfork
1282 (package
1283 (name "perl-test-sharedfork")
a48d560f 1284 (version "0.35")
5ccde207
RW
1285 (source
1286 (origin
1287 (method url-fetch)
1288 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1289 "Test-SharedFork-" version ".tar.gz"))
1290 (sha256
a48d560f 1291 (base32 "17y52j20k1bs9dgf4n6rhh9dn4cfxxbnfn2cfs7pb00fc5jyhci9"))))
5ccde207
RW
1292 (build-system perl-build-system)
1293 (native-inputs
1294 `(("perl-test-requires" ,perl-test-requires)))
9aba9b12 1295 (home-page "https://metacpan.org/release/Test-SharedFork")
5ccde207
RW
1296 (synopsis "Fork test in Perl")
1297 (description "Test::SharedFork is a utility module for Test::Builder. It
1298makes fork(2) safe to use in test cases.")
1299 (license perl-license)))
1300
1301(define-public perl-test-simple
1302 (package
1303 (name "perl-test-simple")
97845067 1304 (version "1.302172")
5ccde207
RW
1305 (source (origin
1306 (method url-fetch)
1307 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1308 "Test-Simple-" version ".tar.gz"))
1309 (sha256
1310 (base32
97845067 1311 "1z1l8dgssf0mqbgik33sc5j48iiapppkwmacwah990hj0j7pd23k"))))
5ccde207
RW
1312 (build-system perl-build-system)
1313 (synopsis "Basic utilities for writing tests")
1314 (description
1315 "Test::Simple contains basic utilities for writing tests.")
9aba9b12 1316 (home-page "https://metacpan.org/release/Test-Simple")
5ccde207
RW
1317 (license perl-license)))
1318
68976996
NG
1319(define-public perl-test-subcalls
1320 (package
1321 (name "perl-test-subcalls")
1322 (version "1.10")
1323 (source
1324 (origin
1325 (method url-fetch)
1326 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1327 "Test-SubCalls-" version ".tar.gz"))
1328 (sha256
1329 (base32 "1hmnv9nkdzyrr6yis0dnkf4lk0hwld3zapiyq7mizrq5barykhfb"))))
1330 (build-system perl-build-system)
1331 (propagated-inputs
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")
1335 (description
1336 "There are a number of different situations (like testing caching
1337code) where you want to want to do a number of tests, and then verify
1338that some underlying subroutine deep within the code was called
1339a specific number of times.
1340
1341Test::SubCalls module provides a number of functions for doing testing
1342in this way in association with your normal Test::More (or similar)
1343test scripts.")
1344 (license perl-license)))
1345
5ccde207
RW
1346(define-public perl-test-taint
1347 (package
1348 (name "perl-test-taint")
1349 (version "1.06")
1350 (source
1351 (origin
1352 (method url-fetch)
1353 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Taint-"
1354 version ".tar.gz"))
1355 (sha256
1356 (base32
1357 "01rip5d7gdr1c7lq6yczzkqfd0500nfa977ryigylj6jj75526vj"))))
1358 (build-system perl-build-system)
9aba9b12 1359 (home-page "https://metacpan.org/release/Test-Taint")
5ccde207
RW
1360 (synopsis "Checks for taintedness of variables")
1361 (description "Tainted data is data that comes from an unsafe source, such
1362as 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
1364tainted data is bad, and how to untaint the data.
1365
1366When you're writing unit tests for code that deals with tainted data, you'll
1367want to have a way to provide tainted data for your routines to handle, and
1368easy ways to check and report on the taintedness of your data, in standard
1369@code{Test::More} style.")
1370 (license perl-license)))
1371
1372(define-public perl-test-tester
1373 (package
1374 (name "perl-test-tester")
1375 (version "0.109")
1376 (source (origin
1377 (method url-fetch)
1378 (uri (string-append "mirror://cpan/authors/id/F/FD/FDALY/"
1379 "Test-Tester-" version ".tar.gz"))
1380 (sha256
1381 (base32
1382 "0m9n28z09kq455r5nydj1bnr85lvmbfpcbjdkjfbpmfb5xgciiyk"))))
1383 (build-system perl-build-system)
1384 (synopsis "Simplify running Test::Builder tests")
1385 (description
1386 "Test::Tester allows testing of test modules based on Test::Builder with
1387a minimum of effort.")
9aba9b12 1388 (home-page "https://metacpan.org/release/FDALY/Test-Tester-0.109")
5ccde207 1389 (license perl-license)))
0943b0b5
KK
1390
1391(define-public perl-test-perltidy
1392 (package
1393 (name "perl-test-perltidy")
1394 (version "20130104")
1395 (source
1396 (origin
1397 (method url-fetch)
1398 (uri (string-append
1399 "mirror://cpan/authors/id/L/LA/LARRYL/Test-PerlTidy-"
1400 version ".tar.gz"))
1401 (sha256
1402 (base32
1403 "1j5rsb4km9rzcbd1ljavj8vm42bmilji40v2jj2k87l1ykrxj59z"))))
1404 (build-system perl-build-system)
1405 (propagated-inputs
1406 `(("perl-file-finder" ,perl-file-finder)
1407 ("perl-file-slurp" ,perl-file-slurp)
1408 ("perltidy" ,perltidy)
1409 ("perl-text-diff" ,perl-text-diff)))
9aba9b12 1410 (home-page "https://metacpan.org/release/Test-PerlTidy")
0943b0b5
KK
1411 (synopsis "Check that all your Perl files are tidy")
1412 (description
1413 "Using @code{Test::PerlTidy}, any file ending in .pl, .pm, .t or .PL will
1414cause a test fail unless it is exactly as @code{perltidy} would like it to be.")
1415 (license perl-license)))
5ccde207
RW
1416
1417(define-public perl-test-trap
1418 (package
1419 (name "perl-test-trap")
e750f1fc 1420 (version "0.3.4")
5ccde207
RW
1421 (source
1422 (origin
1423 (method url-fetch)
1424 (uri (string-append "mirror://cpan/authors/id/E/EB/EBHANSSEN/"
1425 "Test-Trap-v" version ".tar.gz"))
1426 (sha256
e750f1fc 1427 (base32 "1qjs2080kcc66s4d7499br5lw2qmhr9gxky4xsl6vjdn6dpna10b"))))
5ccde207
RW
1428 (build-system perl-build-system)
1429 (native-inputs
1430 `(("perl-module-build" ,perl-module-build)
1431 ("perl-test-simple" ,perl-test-simple)))
1432 (propagated-inputs
43f0cfcd 1433 `(("perl-data-dump" ,perl-data-dump)))
9aba9b12 1434 (home-page "https://metacpan.org/release/Test-Trap")
5ccde207
RW
1435 (synopsis "Trap exit codes, exceptions, output, and so on")
1436 (description "This module is primarily (but not exclusively) for use in
1437test scripts: A block eval configurable and extensible but by default trapping
1438STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values
1439from boxed blocks of test code.")
1440 (license perl-license)))
1441
1442(define-public perl-test-utf8
1443 (package
1444 (name "perl-test-utf8")
1445 (version "1.01")
1446 (source
1447 (origin
1448 (method url-fetch)
1449 (uri (string-append "mirror://cpan/authors/id/M/MA/MARKF/"
1450 "Test-utf8-" version ".tar.gz"))
1451 (sha256
1452 (base32
1453 "0yhvf735v334qqvp9zg7i66qyk6r4cbk5s2psv93d3fdd4bindzg"))))
1454 (build-system perl-build-system)
1455 (native-inputs
1456 `(("perl-module-install" ,perl-module-install)))
9aba9b12 1457 (home-page "https://metacpan.org/release/Test-utf8")
5ccde207
RW
1458 (synopsis "UTF-8 testing in Perl")
1459 (description "This module is a collection of tests useful for dealing with
1460UTF-8 strings in Perl. This module has two types of tests: The validity tests
1461check if a string is valid and not corrupt, whereas the characteristics tests
1462will check that string has a given set of characteristics.")
1463 (license perl-license)))
1464
3840c515
CB
1465(define-public perl-test-version
1466 (package
1467 (name "perl-test-version")
1468 (version "2.09")
1469 (source
1470 (origin
1471 (method url-fetch)
1472 (uri (string-append
1473 "mirror://cpan/authors/id/P/PL/PLICEASE/Test-Version-"
1474 version
1475 ".tar.gz"))
1476 (sha256
1477 (base32
1478 "1q1qradaf7r2rb3jhpv01wl8z3bxymkfqrl9gwdhxwx5jwldvqcw"))))
1479 (build-system perl-build-system)
1480 (native-inputs
1481 `(("perl-test-exception" ,perl-test-exception)))
1482 (propagated-inputs
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")
1486 (description
1487 "@code{Test::Version} checks to ensure that all modules have a version
1488defined, and that the version is valid.")
1489 (license artistic2.0)))
1490
5ccde207
RW
1491(define-public perl-test-warn
1492 (package
1493 (name "perl-test-warn")
1494 (version "0.30")
1495 (source
1496 (origin
1497 (method url-fetch)
1498 (uri (string-append "mirror://cpan/authors/id/C/CH/CHORNY/"
1499 "Test-Warn-" version ".tar.gz"))
1500 (sha256
1501 (base32
1502 "0haf2ii7br5z0psmkvlvmx2z2q9qz1c70gx0969r378qjidmb5w1"))))
1503 (build-system perl-build-system)
1504 (propagated-inputs
1505 `(("perl-sub-uplevel" ,perl-sub-uplevel)))
9aba9b12 1506 (home-page "https://metacpan.org/release/Test-Warn")
5ccde207
RW
1507 (synopsis "Perl extension to test methods for warnings")
1508 (description "This module provides a few convenience methods for testing
1509warning based code.")
1510 (license perl-license)))
1511
1512(define-public perl-test-warnings
1513 (package
1514 (name "perl-test-warnings")
1515 (version "0.026")
1516 (source
1517 (origin
1518 (method url-fetch)
1519 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1520 "Test-Warnings-" version ".tar.gz"))
1521 (sha256
1522 (base32
1523 "024srkwjckp15dxkni9lb1hc8bg4xwc52zz0iich8rv1nnqnhaxf"))))
1524 (build-system perl-build-system)
9aba9b12 1525 (home-page "https://metacpan.org/release/Test-Warnings")
5ccde207
RW
1526 (synopsis "Test for warnings and the lack of them")
1527 (description "This module is intended to be used as a drop-in replacement
1528for Test::NoWarnings. It also adds an extra test, but runs this test before
1529done_testing calculates the test count, rather than after. It does this by
1530hooking into done_testing as well as via an END block. You can declare a
1531plan, or not, and things will still Just Work.")
1532 (license perl-license)))
1533
1534(define-public perl-test-without-module
1535 (package
1536 (name "perl-test-without-module")
a1b16662 1537 (version "0.20")
5ccde207
RW
1538 (source
1539 (origin
1540 (method url-fetch)
1541 (uri (string-append "mirror://cpan/authors/id/C/CO/CORION/"
1542 "Test-Without-Module-" version ".tar.gz"))
1543 (sha256
1544 (base32
a1b16662 1545 "0955ib9cz1naz7a2v6lx78kj29q7ihmdn51im6wd1im669yfp6lf"))))
5ccde207 1546 (build-system perl-build-system)
9aba9b12 1547 (home-page "https://metacpan.org/release/Test-Without-Module")
5ccde207
RW
1548 (synopsis "Test fallback behaviour in absence of modules")
1549 (description "This module allows you to deliberately hide modules from a
1550program even though they are installed. This is mostly useful for testing
1551modules that have a fallback when a certain dependency module is not
1552installed.")
1553 (license perl-license)))
1554
1555(define-public perl-test-writevariants
1556 (package
1557 (name "perl-test-writevariants")
6dc75e18 1558 (version "0.014")
5ccde207
RW
1559 (source
1560 (origin
1561 (method url-fetch)
1562 (uri (string-append "mirror://cpan/authors/id/R/RE/REHSACK/"
1563 "Test-WriteVariants-" version ".tar.gz"))
1564 (sha256
6dc75e18 1565 (base32 "11v4j3607bydxsqy2ylx9w6qr3qxcalfx3mdc4q4ccqmxsyw4jb3"))))
5ccde207
RW
1566 (build-system perl-build-system)
1567 (native-inputs
1568 `(("perl-test-most" ,perl-test-most)
1569 ("perl-test-directory" ,perl-test-directory)))
1570 (propagated-inputs
1571 `(("perl-data-tumbler" ,perl-data-tumbler)
1572 ("perl-file-homedir" ,perl-file-homedir)
6dc75e18
TGR
1573 ("perl-module-pluggable" ,perl-module-pluggable)
1574 ("perl-module-runtime" ,perl-module-runtime)))
9aba9b12 1575 (home-page "https://metacpan.org/release/Test-WriteVariants")
5ccde207
RW
1576 (synopsis "Dynamic generation of tests")
1577 (description "The Test::WriteVariants module provides for the dynamic
1578generation of tests in nested combinations of contexts.")
677aca12 1579 (license perl-license))) ; see LICENSE
5ccde207
RW
1580
1581(define-public perl-test-yaml
1582 (package
1583 (name "perl-test-yaml")
677aca12 1584 (version "1.07")
5ccde207
RW
1585 (source
1586 (origin
1587 (method url-fetch)
677aca12 1588 (uri (string-append "mirror://cpan/authors/id/T/TI/TINITA/"
5ccde207
RW
1589 "Test-YAML-" version ".tar.gz"))
1590 (sha256
677aca12 1591 (base32 "0pwrrnwi1qaiy3c5522vy0kzncxc9g02r4b056wqqaa69w1hsc0z"))))
5ccde207
RW
1592 (build-system perl-build-system)
1593 (propagated-inputs
1594 `(("perl-test-base" ,perl-test-base)))
9aba9b12 1595 (home-page "https://metacpan.org/release/Test-YAML")
5ccde207
RW
1596 (synopsis "Testing module for YAML implementations")
1597 (description "Test::YAML is a subclass of Test::Base with YAML specific
1598support.")
1599 (license perl-license)))
1600
1601(define-public perl-test-trailingspace
1602 (package
1603 (name "perl-test-trailingspace")
b11407d9 1604 (version "0.0301")
5ccde207
RW
1605 (source
1606 (origin
1607 (method url-fetch)
1608 (uri (string-append
1609 "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-TrailingSpace-"
1610 version
1611 ".tar.gz"))
1612 (sha256
1613 (base32
b11407d9 1614 "0w2rvsksv7cmf80v632xm2rwxrv933kzz97839yhwynvg9s7b252"))))
5ccde207
RW
1615 (build-system perl-build-system)
1616 (native-inputs
1617 `(("perl-module-build" ,perl-module-build)
1618 ("perl-file-find-object" ,perl-file-find-object)
1619 ("perl-class-xsaccessor" ,perl-class-xsaccessor)))
1620 (inputs
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)))
1624 (home-page
9aba9b12 1625 "https://metacpan.org/release/Test-TrailingSpace")
5ccde207
RW
1626 (synopsis
1627 "Test for trailing space in Perl source files")
1628 (description "Test::TrailingSpace tests for trailing spaces
1629in Perl source files.")
1630 (license x11)))