Merge branch 'master' into staging
[jackhill/guix/guix.git] / gnu / packages / perl-check.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
3 ;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
4 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
5 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
6 ;;; Copyright © 2016 Nikita <nikita@n0.is>
7 ;;; Copyright © 2016, 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
8 ;;; Copyright © 2016, 2017 Alex Sassmannshausen <alex@pompo.co>
9 ;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
10 ;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
11 ;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
12 ;;; Copyright © 2017 Petter <petter@mykolab.ch>
13 ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
14 ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
15 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
16 ;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
17 ;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
18 ;;;
19 ;;; This file is part of GNU Guix.
20 ;;;
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.
25 ;;;
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.
30 ;;;
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/>.
33
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))
43
44 ;;;
45 ;;; Please: Try to add new module packages in alphabetic order.
46 ;;;
47
48 \f
49 (define-public perl-mock-config
50 (package
51 (name "perl-mock-config")
52 (version "0.03")
53 (source
54 (origin
55 (method url-fetch)
56 (uri (string-append "mirror://cpan/authors/id/R/RU/RURBAN/Mock-Config-"
57 version ".tar.gz"))
58 (sha256
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")
63 (description
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)))
69
70 (define-public perl-test2-suite
71 (package
72 (name "perl-test2-suite")
73 (version "0.000072")
74 (source
75 (origin
76 (method url-fetch)
77 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/Test2-Suite-"
78 version ".tar.gz"))
79 (sha256
80 (base32
81 "0hgd6n29qjh1pwqvbglm2kb852yqshmixqqjhsr2kvvibdr58qpf"))))
82 (build-system perl-build-system)
83 (arguments
84 '(#:phases
85 (modify-phases %standard-phases
86 (add-after 'unpack 'set-env
87 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
88 (propagated-inputs
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)))
97
98 (define-public perl-test2-plugin-nowarnings
99 (package
100 (name "perl-test2-plugin-nowarnings")
101 (version "0.06")
102 (source
103 (origin
104 (method url-fetch)
105 (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/Test2-Plugin-NoWarnings-"
106 version ".tar.gz"))
107 (sha256
108 (base32
109 "002qk6qsm0l6r2kaxywvc38w0yf0mlavgywq8li076pn6kcw3242"))))
110 (build-system perl-build-system)
111 (native-inputs
112 `(("perl-ipc-run3" ,perl-ipc-run3)))
113 (propagated-inputs
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)))
121
122 (define-public perl-test-base
123 (package
124 (name "perl-test-base")
125 (version "0.89")
126 (source
127 (origin
128 (method url-fetch)
129 (uri (string-append "mirror://cpan/authors/id/I/IN/INGY/"
130 "Test-Base-" version ".tar.gz"))
131 (sha256
132 (base32
133 "056hibgg3i2b89mwr76vyxi6ayb3hqjqcwicvn3s5lximsma3517"))))
134 (build-system perl-build-system)
135 (native-inputs
136 `(("perl-algorithm-diff" ,perl-algorithm-diff)
137 ("perl-text-diff" ,perl-text-diff)))
138 (propagated-inputs
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)))
147
148 (define-public perl-test-checkdeps
149 (package
150 (name "perl-test-checkdeps")
151 (version "0.010")
152 (source
153 (origin
154 (method url-fetch)
155 (uri (string-append
156 "mirror://cpan/authors/id/L/LE/LEONT/Test-CheckDeps-"
157 version
158 ".tar.gz"))
159 (sha256
160 (base32
161 "1vjinlixxdx6gfcw8y1dw2rla8bfhi8nmgcqr3nffc7kqskcrz36"))))
162 (build-system perl-build-system)
163 (propagated-inputs
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")
167 (description
168 "This module provides a test that checks all dependencies have been
169 installed properly.")
170 (license perl-license)))
171
172 (define-public perl-test-class
173 (package
174 (name "perl-test-class")
175 (version "0.50")
176 (source
177 (origin
178 (method url-fetch)
179 (uri (string-append
180 "https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Class-"
181 version
182 ".tar.gz"))
183 (sha256
184 (base32
185 "0l0kk5jvxjkic2jkf1r7v41irb344aasnzr3f5ygjgxgiknm9489"))))
186 (build-system perl-build-system)
187 (native-inputs
188 `(("perl-test-exception" ,perl-test-exception)))
189 (inputs
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.
197
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)))
202
203 (define-public perl-test-class-most
204 (package
205 (name "perl-test-class-most")
206 (version "0.08")
207 (source
208 (origin
209 (method url-fetch)
210 (uri (string-append
211 "mirror://cpan/authors/id/O/OV/OVID/Test-Class-Most-"
212 version
213 ".tar.gz"))
214 (sha256
215 (base32
216 "1zvx9hil0mg0pnb8xfa4m0xgjpvh8s5gnbyprq3xwpdsdgcdwk33"))))
217 (build-system perl-build-system)
218 (native-inputs
219 `(("perl-module-build" ,perl-module-build)))
220 (inputs
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)))
231
232 (define-public perl-test-cleannamespaces
233 (package
234 (name "perl-test-cleannamespaces")
235 (version "0.24")
236 (source
237 (origin
238 (method url-fetch)
239 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
240 "Test-CleanNamespaces-" version ".tar.gz"))
241 (sha256
242 (base32 "0yijspncqgmbkkxrh66xx1pliajar05yqhzq6m4nb6p8x1lmb39k"))))
243 (build-system perl-build-system)
244 (native-inputs
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)))
250 (propagated-inputs
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)))
264
265 (define-public perl-test-command
266 (package
267 (name "perl-test-command")
268 (version "0.11")
269 (source (origin
270 (method url-fetch)
271 (uri (string-append
272 "mirror://cpan/authors/id/D/DA/DANBOO/Test-Command-"
273 version ".tar.gz"))
274 (sha256
275 (base32
276 "0cwm3c4d49mdrbm6vgh78b3x8mk730l0zg8i7xb9z8bkx9pzr8r8"))))
277 (build-system perl-build-system)
278 (native-inputs
279 `(("perl-module-build" ,perl-module-build)))
280 (home-page "https://github.com/danboo/perl-test-command")
281 (synopsis "Test routines for external commands")
282 (description
283 "This module provides routines for testing the exit status, standard
284 output and standard error of external commands.")
285 (license perl-license)))
286
287 (define-public perl-test-cpan-meta
288 (package
289 (name "perl-test-cpan-meta")
290 (version "0.25")
291 (source
292 (origin
293 (method url-fetch)
294 (uri (string-append
295 "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-"
296 version
297 ".tar.gz"))
298 (sha256
299 (base32
300 "1dcdbbdwdyhpldkhjzc9rvzlmb5jbil6fwh2x07nsfdwysf4ynzm"))))
301 (build-system perl-build-system)
302 (native-inputs
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)))
306 (home-page
307 "https://metacpan.org/release/Test-CPAN-Meta")
308 (synopsis "Validate your CPAN META.yml files")
309 (description
310 "This module was written to ensure that a META.yml file meets the
311 specification.")
312 (license artistic2.0)))
313
314 (define-public perl-test-cpan-meta-json
315 (package
316 (name "perl-test-cpan-meta-json")
317 (version "0.16")
318 (source
319 (origin
320 (method url-fetch)
321 (uri (string-append
322 "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-JSON-"
323 version
324 ".tar.gz"))
325 (sha256
326 (base32
327 "1jg9ka50ixwq083wd4k12rhdjq87w0ihb34gd8jjn7gvvyd51b37"))))
328 (build-system perl-build-system)
329 (native-inputs
330 `(("perl-test-pod" ,perl-test-pod)
331 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
332 (inputs
333 `(("perl-json" ,perl-json)))
334 (home-page
335 "https://metacpan.org/release/Test-CPAN-Meta-JSON")
336 (synopsis "Validate your CPAN META.json files")
337 (description
338 "This module was written to ensure that a META.json file meets the
339 specification.")
340 (license artistic2.0)))
341
342 (define-public perl-test-deep
343 (package
344 (name "perl-test-deep")
345 (version "1.120")
346 (source (origin
347 (method url-fetch)
348 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
349 "Test-Deep-" version ".tar.gz"))
350 (sha256
351 (base32
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")
356 (description
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"
363
364 (define-public perl-test-differences
365 (package
366 (name "perl-test-differences")
367 (version "0.67")
368 (source
369 (origin
370 (method url-fetch)
371 (uri (string-append "mirror://cpan/authors/id/D/DC/DCANTRELL/"
372 "Test-Differences-" version ".tar.gz"))
373 (sha256
374 (base32 "1nkqr3m4lbzw7fkkzah42aiqlhxapamk6kw7hj90cjwkifsbp3f8"))))
375 (build-system perl-build-system)
376 (native-inputs
377 `(("perl-module-build" ,perl-module-build)))
378 (propagated-inputs
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
384 functions.")
385 ;; See LICENSE section of Test/Differences.pm, which reads "... GNU public
386 ;; license, any version, ..."
387 (license gpl3+)))
388
389 (define-public perl-test-dir
390 (package
391 (name "perl-test-dir")
392 (version "1.16")
393 (source
394 (origin
395 (method url-fetch)
396 (uri (string-append "mirror://cpan/authors/id/M/MT/MTHURN/"
397 "Test-Dir-" version ".tar.gz"))
398 (sha256
399 (base32
400 "1hpafgr93jjl6s8spskhdxhgich4cccmaiq99mla5diyj4iv6ckk"))))
401 (build-system perl-build-system)
402 (propagated-inputs
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")
408 (description
409 "This modules provides a collection of test utilities for directory
410 attributes.")
411 (license perl-license)))
412
413 (define-public perl-test-directory
414 (package
415 (name "perl-test-directory")
416 (version "0.041")
417 (source
418 (origin
419 (method url-fetch)
420 (uri (string-append "mirror://cpan/authors/id/S/SA/SANBEG/"
421 "Test-Directory-" version ".tar.gz"))
422 (sha256
423 (base32
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)))
436
437 (define-public perl-test-distmanifest
438 (package
439 (name "perl-test-distmanifest")
440 (version "1.014")
441 (source
442 (origin
443 (method url-fetch)
444 (uri (string-append
445 "mirror://cpan/authors/id/E/ET/ETHER/Test-DistManifest-"
446 version ".tar.gz"))
447 (sha256
448 (base32 "1ifpff5simjslabwy7ac6kdylv4c0b5b39fgpwf9ha16yh6w49ix"))))
449 (build-system perl-build-system)
450 (native-inputs
451 `(("perl-module-build" ,perl-module-build)))
452 (propagated-inputs
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}")
456 (description
457 "@code{Test::DistManifest} provides a simple method of testing that a
458 @file{MANIFEST} file matches its distribution.")
459 (license perl-license)))
460
461 (define-public perl-test-distribution
462 (package
463 (name "perl-test-distribution")
464 (version "2.00")
465 (source
466 (origin
467 (method url-fetch)
468 (uri (string-append
469 "mirror://cpan/authors/id/S/SR/SRSHAH/Test-Distribution-"
470 version ".tar.gz"))
471 (sha256
472 (base32
473 "0s1bj459qaw2x1fckklv9irpf3mr8gp2cm9vlyrb5dyanrzx1v2h"))))
474 (build-system perl-build-system)
475 (native-inputs
476 `(("perl-module-build" ,perl-module-build)))
477 (propagated-inputs
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)))
494
495 (define-public perl-test-eol
496 (package
497 (name "perl-test-eol")
498 (version "2.00")
499 (source
500 (origin
501 (method url-fetch)
502 (uri (string-append
503 "mirror://cpan/authors/id/E/ET/ETHER/Test-EOL-"
504 version
505 ".tar.gz"))
506 (sha256
507 (base32
508 "0l3bxpsw0x7j9nclizcp53mnf9wny25dmg2iglfhzgnk0xfpwzwf"))))
509 (build-system perl-build-system)
510 (home-page
511 "https://metacpan.org/release/Test-EOL")
512 (synopsis
513 "Check the correct line endings in your project")
514 (description
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)))
518
519 (define-public perl-test-exception
520 (package
521 (name "perl-test-exception")
522 (version "0.43")
523 (source
524 (origin
525 (method url-fetch)
526 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
527 "Test-Exception-" version ".tar.gz"))
528 (sha256
529 (base32
530 "0cxm7s4bg0xpxa6l6996a6iq3brr4j7p4hssnkc6dxv4fzq16sqm"))))
531 (build-system perl-build-system)
532 (native-inputs
533 `(("perl-module-build" ,perl-module-build)))
534 (propagated-inputs
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)))
542
543 (define-public perl-test-failwarnings
544 (package
545 (name "perl-test-failwarnings")
546 (version "0.008")
547 (source
548 (origin
549 (method url-fetch)
550 (uri (string-append
551 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-"
552 version ".tar.gz"))
553 (sha256
554 (base32
555 "0vx9chcp5x8m0chq574p9fnfckh5gl94j7904rh9v17n568fyd6s"))))
556 (build-system perl-build-system)
557 (native-inputs
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")
561 (description
562 "Test::FailWarnings adds test failures if warnings are caught.")
563 (license asl2.0)))
564
565 (define-public perl-test-fatal
566 (package
567 (name "perl-test-fatal")
568 (version "0.014")
569 (source
570 (origin
571 (method url-fetch)
572 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
573 "Test-Fatal-" version ".tar.gz"))
574 (sha256
575 (base32
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)))
585
586 (define-public perl-test-file
587 (package
588 (name "perl-test-file")
589 (version "1.443")
590 (source
591 (origin
592 (method url-fetch)
593 (uri (string-append
594 "mirror://cpan/authors/id/B/BD/BDFOY/Test-File-"
595 version
596 ".tar.gz"))
597 (sha256
598 (base32
599 "1mdwb3x8d4l24wsymamsnq2c73a637v4q5kmb5xqqz31iymsdd31"))))
600 (build-system perl-build-system)
601 (native-inputs
602 `(("perl-test-utf8" ,perl-test-utf8)))
603 (home-page "https://metacpan.org/release/Test-File")
604 (synopsis "Utilities for testing file attributes")
605 (description
606 "@code{Test::File} provides a collection of test utilities for file
607 attributes.")
608 (license perl-license)))
609
610 (define-public perl-test-file-contents
611 (package
612 (name "perl-test-file-contents")
613 (version "0.23")
614 (source
615 (origin
616 (method url-fetch)
617 (uri (string-append
618 "mirror://cpan/authors/id/D/DW/DWHEELER/Test-File-Contents-"
619 version
620 ".tar.gz"))
621 (sha256
622 (base32
623 "0g8zgfyw84181snw7ghahnl9r4lrmlfj7zwi76sv8d0bj7xssvyd"))))
624 (build-system perl-build-system)
625 (native-inputs
626 `(("perl-module-build" ,perl-module-build)))
627 (propagated-inputs
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")
633 (description
634 "@{Test::File::Contents} provides functions for testing the contents of
635 files.")
636 (license perl-license)))
637
638 (define-public perl-test-file-sharedir-dist
639 (package
640 (name "perl-test-file-sharedir-dist")
641 (version "1.001002")
642 (source
643 (origin
644 (method url-fetch)
645 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
646 "Test-File-ShareDir-" version ".tar.gz"))
647 (sha256
648 (base32
649 "1bbs6cx69wcinq77gif4i4pmrj8a7lwb92sgvvxzrwmjnk5lfdmk"))))
650 (build-system perl-build-system)
651 (propagated-inputs
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
661 for testing.")
662 (license perl-license)))
663
664 (define-public perl-test-filename
665 (package
666 (name "perl-test-filename")
667 (version "0.03")
668 (source
669 (origin
670 (method url-fetch)
671 (uri (string-append
672 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-Filename-"
673 version ".tar.gz"))
674 (sha256
675 (base32
676 "1gpw4mjw68gnby8s4cifvbz6g2923xsc189jkw9d27i8qv20qiba"))))
677 (build-system perl-build-system)
678 (propagated-inputs
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.")
684 (license asl2.0)))
685
686 (define-public perl-test-files
687 (package
688 (name "perl-test-files")
689 (version "0.14")
690 (source
691 (origin
692 (method url-fetch)
693 (uri (string-append
694 "mirror://cpan/authors/id/P/PH/PHILCROW/Test-Files-"
695 version
696 ".tar.gz"))
697 (sha256
698 (base32
699 "1zn33yigznq7i1jr4yjr4lxvc6bn7znkbqdzj7slhc146pqapkln"))))
700 (build-system perl-build-system)
701 (propagated-inputs
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)))
710
711 (define-public perl-test-harness
712 (package
713 (name "perl-test-harness")
714 (version "3.42")
715 (source
716 (origin
717 (method url-fetch)
718 (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/"
719 "Test-Harness-" version ".tar.gz"))
720 (sha256
721 (base32 "0lwfaamhpqia0ks4pcci83xbqz6jhng7acv95qk6wbd8zr70vn8g"))))
722 (build-system perl-build-system)
723 (arguments
724 `(#:phases
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"
731 (("#!/usr/bin/perl")
732 (string-append "#!" (assoc-ref inputs "perl")
733 "/bin/perl")))
734 #t)))))
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)))
740
741 (define-public perl-test-leaktrace
742 (package
743 (name "perl-test-leaktrace")
744 (version "0.16")
745 (source
746 (origin
747 (method url-fetch)
748 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
749 "Test-LeakTrace-" version ".tar.gz"))
750 (sha256
751 (base32
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)))
760
761 (define-public perl-test-longstring
762 (package
763 (name "perl-test-longstring")
764 (version "0.17")
765 (source
766 (origin
767 (method url-fetch)
768 (uri (string-append "mirror://cpan/authors/id/R/RG/RGARCIA/"
769 "Test-LongString-" version ".tar.gz"))
770 (sha256
771 (base32
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)))
780
781 (define-public perl-test-manifest
782 (package
783 (name "perl-test-manifest")
784 (version "2.021")
785 (source (origin
786 (method url-fetch)
787 (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/"
788 "Test-Manifest-" version ".tar.gz"))
789 (sha256
790 (base32
791 "1n9jscnni24sbp4v5gjlcy3iknfwvmy0731xwvk1c3jq3kbslym4"))))
792 (build-system perl-build-system)
793 (native-inputs
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)))
803
804 (define-public perl-test-memory-cycle
805 (package
806 (name "perl-test-memory-cycle")
807 (version "1.06")
808 (source
809 (origin
810 (method url-fetch)
811 (uri (string-append
812 "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-"
813 version
814 ".tar.gz"))
815 (sha256
816 (base32
817 "00ijmgx1r3cxrcs1qa9rb2s4gbm3nsawd90drda89kb4r7yxslwx"))))
818 (build-system perl-build-system)
819 (inputs
820 `(("perl-padwalker" ,perl-padwalker)))
821 (propagated-inputs
822 `(("perl-devel-cycle" ,perl-devel-cycle)))
823 (home-page
824 "https://metacpan.org/release/Test-Memory-Cycle")
825 (synopsis
826 "Verifies code hasn't left circular references")
827 (description
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.
830
831 @example
832 use Test::Memory::Cycle;
833
834 my $object = new MyObject;
835 # Do stuff with the object.
836 memory_cycle_ok( $object );
837 @end example")
838 (license artistic2.0)))
839
840 (define-public perl-test-mockmodule
841 (package
842 (name "perl-test-mockmodule")
843 (version "0.171.0")
844 (source
845 (origin
846 (method url-fetch)
847 (uri (string-append "mirror://cpan/authors/id/G/GF/GFRANKS/"
848 "Test-MockModule-v" version ".tar.gz"))
849 (sha256
850 (base32 "1arqgb1773zym5dqlwm6kz48bfrccjhb5bjfsif0vkalwq2gvm7b"))))
851 (build-system perl-build-system)
852 (native-inputs
853 `(("perl-module-build" ,perl-module-build)
854 ;; For tests.
855 ("perl-test-pod" ,perl-test-pod)
856 ("perl-test-pod-coverage" ,perl-test-pod-coverage)
857 ("perl-test-warnings" ,perl-test-warnings)))
858 (propagated-inputs
859 `(("perl-super" ,perl-super)))
860 (home-page "https://metacpan.org/release/Test-MockModule")
861 (synopsis "Override subroutines in a module for unit testing")
862 (description
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.")
869 (license gpl3)))
870
871 (define-public perl-test-mockobject
872 (package
873 (name "perl-test-mockobject")
874 (version "1.20191002")
875 (source
876 (origin
877 (method url-fetch)
878 (uri (string-append "mirror://cpan/authors/id/C/CH/CHROMATIC/"
879 "Test-MockObject-" version ".tar.gz"))
880 (sha256
881 (base32 "160r36j727hw6syazh6sfq862f95dp1zcga0nil7cjlry77lqsn7"))))
882 (build-system perl-build-system)
883 (native-inputs
884 `(("perl-cgi" ,perl-cgi)
885 ("perl-test-exception" ,perl-test-exception)
886 ("perl-test-warn" ,perl-test-warn)))
887 (propagated-inputs
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)))
898
899 (define-public perl-test-mocktime
900 (package
901 (name "perl-test-mocktime")
902 (version "0.17")
903 (source
904 (origin
905 (method url-fetch)
906 (uri (string-append "mirror://cpan/authors/id/D/DD/DDICK/"
907 "Test-MockTime-" version ".tar.gz"))
908 (sha256
909 (base32 "1y820qsq7yf7r6smy5c6f0mpf2cis2q24vwmpim1svv0n8cf2qrk"))))
910 (propagated-inputs
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)))
921
922 (define-public perl-test-more-utf8
923 (package
924 (name "perl-test-more-utf8")
925 (version "0.05")
926 (source
927 (origin
928 (method url-fetch)
929 (uri (string-append
930 "mirror://cpan/authors/id/M/MO/MONS/Test-More-UTF8-"
931 version ".tar.gz"))
932 (sha256
933 (base32
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
942 @dots{}\"")
943 (license perl-license)))
944
945 (define-public perl-test-most
946 (package
947 (name "perl-test-most")
948 (version "0.35")
949 (source
950 (origin
951 (method url-fetch)
952 (uri (string-append "mirror://cpan/authors/id/O/OV/OVID/"
953 "Test-Most-" version ".tar.gz"))
954 (sha256
955 (base32
956 "0zv5dyzq55r28plffibcr7wd00abap0h2zh4s4p8snaiszsad5wq"))))
957 (build-system perl-build-system)
958 (propagated-inputs
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)))
970
971 (define-public perl-test-needs
972 (package
973 (name "perl-test-needs")
974 (version "0.002005")
975 (source
976 (origin
977 (method url-fetch)
978 (uri (string-append
979 "mirror://cpan/authors/id/H/HA/HAARG/Test-Needs-"
980 version
981 ".tar.gz"))
982 (sha256
983 (base32
984 "16gkgpmr9hvkz382iaqd3500269lk2d44fqaw3dsrvc66nc36kss"))))
985 (build-system perl-build-system)
986 (home-page
987 "https://metacpan.org/release/Test-Needs")
988 (synopsis
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.
995
996 If used in a subtest, the remainder of the subtest will be skipped.")
997 (license perl-license)))
998
999 (define-public perl-test-notabs
1000 (package
1001 (name "perl-test-notabs")
1002 (version "2.02")
1003 (source
1004 (origin
1005 (method url-fetch)
1006 (uri (string-append
1007 "mirror://cpan/authors/id/E/ET/ETHER/Test-NoTabs-"
1008 version
1009 ".tar.gz"))
1010 (sha256
1011 (base32
1012 "0c306p9qdpa2ycii3c50hml23mwy6bjxpry126g1dw11hyiwcxgv"))))
1013 (build-system perl-build-system)
1014 (home-page
1015 "https://metacpan.org/release/Test-NoTabs")
1016 (synopsis
1017 "Check the presence of tabs in your project")
1018 (description
1019 "@code{Test::NoTabs} lets you check the presence of tabs in your perl
1020 code.")
1021 (license perl-license)))
1022
1023 (define-public perl-test-nowarnings
1024 (package
1025 (name "perl-test-nowarnings")
1026 (version "1.04")
1027 (source (origin
1028 (method url-fetch)
1029 (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
1030 "Test-NoWarnings-" version ".tar.gz"))
1031 (sha256
1032 (base32
1033 "0v385ch0hzz9naqwdw2az3zdqi15gka76pmiwlgsy6diiijmg2k3"))))
1034 (build-system perl-build-system)
1035 (synopsis "Ensure no warnings are produced while testing")
1036 (description
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")
1043 (license lgpl2.1)))
1044
1045 (define-public perl-test-number-delta
1046 (package
1047 (name "perl-test-number-delta")
1048 (version "1.06")
1049 (source (origin
1050 (method url-fetch)
1051 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
1052 "Test-Number-Delta-" version ".tar.gz"))
1053 (sha256
1054 (base32
1055 "0jfhzhpzkc23mkrlbnv085ykpfncmy99hvppbzjnrpvgks8k0m2k"))))
1056 (build-system perl-build-system)
1057 (home-page "https://metacpan.org/release/Test-Number-Delta")
1058 (synopsis
1059 "Compare the difference between numbers against a given tolerance")
1060 (description
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}.")
1066 (license asl2.0)))
1067
1068 (define-public perl-test-output
1069 (package
1070 (name "perl-test-output")
1071 (version "1.031")
1072 (source (origin
1073 (method url-fetch)
1074 (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/"
1075 "Test-Output-" version ".tar.gz"))
1076 (sha256
1077 (base32
1078 "193y1xjvgc1p9pdgdwps2127knvpz9wc1xh6gmr74y3ihmqz7f7q"))))
1079 (build-system perl-build-system)
1080 (propagated-inputs
1081 `(("perl-capture-tiny" ,perl-capture-tiny)
1082 ("perl-sub-exporter" ,perl-sub-exporter)))
1083 (synopsis "Utilities to test STDOUT and STDERR messages")
1084 (description
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)))
1090
1091 (define-public perl-test-pod
1092 (package
1093 (name "perl-test-pod")
1094 (version "1.52")
1095 (source
1096 (origin
1097 (method url-fetch)
1098 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1099 "Test-Pod-" version ".tar.gz"))
1100 (sha256
1101 (base32
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)))
1110
1111 (define-public perl-test-pod-coverage
1112 (package
1113 (name "perl-test-pod-coverage")
1114 (version "1.10")
1115 (source
1116 (origin
1117 (method url-fetch)
1118 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
1119 "Test-Pod-Coverage-" version ".tar.gz"))
1120 (sha256
1121 (base32
1122 "1m203mhgfilz7iqc8mxaw4lw02fz391mni3n25sfx7nryylwrja8"))))
1123 (build-system perl-build-system)
1124 (propagated-inputs
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)))
1131
1132 (define-public perl-test-requires
1133 (package
1134 (name "perl-test-requires")
1135 (version "0.10")
1136 (source
1137 (origin
1138 (method url-fetch)
1139 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
1140 "Test-Requires-" version ".tar.gz"))
1141 (sha256
1142 (base32
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)))
1150
1151 (define-public perl-test-requiresinternet
1152 (package
1153 (name "perl-test-requiresinternet")
1154 (version "0.05")
1155 (source
1156 (origin
1157 (method url-fetch)
1158 (uri (string-append
1159 "mirror://cpan/authors/id/M/MA/MALLEN/Test-RequiresInternet-"
1160 version
1161 ".tar.gz"))
1162 (sha256
1163 (base32
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")
1168 (description
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)))
1174
1175 (define-public perl-test-roo
1176 (package
1177 (name "perl-test-roo")
1178 (version "1.004")
1179 (source
1180 (origin
1181 (method url-fetch)
1182 (uri (string-append
1183 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-Roo-"
1184 version ".tar.gz"))
1185 (sha256
1186 (base32
1187 "1mnym49j1lj7gzylma5b6nr4vp75rmgz2v71904v01xmxhy9l4i1"))))
1188 (build-system perl-build-system)
1189 (native-inputs
1190 `(("perl-capture-tiny" ,perl-capture-tiny)))
1191 (propagated-inputs
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.")
1201 (license asl2.0)))
1202
1203 (define-public perl-test-runvalgrind
1204 (package
1205 (name "perl-test-runvalgrind")
1206 (version "0.2.1")
1207 (source
1208 (origin
1209 (method url-fetch)
1210 (uri (string-append
1211 "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-RunValgrind-"
1212 version
1213 ".tar.gz"))
1214 (sha256
1215 (base32 "175hlycrhgwrp7j4rwx5bk4fd6775242wjdqv107rvgsrszsi915"))))
1216 (build-system perl-build-system)
1217 (native-inputs
1218 `(("perl-module-build" ,perl-module-build)))
1219 (propagated-inputs
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.")
1227 (license x11)))
1228
1229 (define-public perl-test-script
1230 (package
1231 (name "perl-test-script")
1232 (version "1.20")
1233 (source (origin
1234 (method url-fetch)
1235 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
1236 "Test-Script-" version ".tar.gz"))
1237 (sha256
1238 (base32
1239 "1msavbi6przkxq3npm90nv925v58iym9jrk677wn46x19whwzwzm"))))
1240 (build-system perl-build-system)
1241 (propagated-inputs
1242 `(("perl-capture-tiny" ,perl-capture-tiny)
1243 ("perl-probe-perl" ,perl-probe-perl)))
1244 (synopsis "Basic cross-platform tests for scripts")
1245 (description
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)))
1251
1252 (define-public perl-test-sharedfork
1253 (package
1254 (name "perl-test-sharedfork")
1255 (version "0.35")
1256 (source
1257 (origin
1258 (method url-fetch)
1259 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1260 "Test-SharedFork-" version ".tar.gz"))
1261 (sha256
1262 (base32 "17y52j20k1bs9dgf4n6rhh9dn4cfxxbnfn2cfs7pb00fc5jyhci9"))))
1263 (build-system perl-build-system)
1264 (native-inputs
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)))
1271
1272 (define-public perl-test-simple
1273 (package
1274 (name "perl-test-simple")
1275 (version "1.302172")
1276 (source (origin
1277 (method url-fetch)
1278 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1279 "Test-Simple-" version ".tar.gz"))
1280 (sha256
1281 (base32
1282 "1z1l8dgssf0mqbgik33sc5j48iiapppkwmacwah990hj0j7pd23k"))))
1283 (build-system perl-build-system)
1284 (synopsis "Basic utilities for writing tests")
1285 (description
1286 "Test::Simple contains basic utilities for writing tests.")
1287 (home-page "https://metacpan.org/release/Test-Simple")
1288 (license perl-license)))
1289
1290 (define-public perl-test-taint
1291 (package
1292 (name "perl-test-taint")
1293 (version "1.06")
1294 (source
1295 (origin
1296 (method url-fetch)
1297 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Taint-"
1298 version ".tar.gz"))
1299 (sha256
1300 (base32
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.
1309
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)))
1315
1316 (define-public perl-test-tester
1317 (package
1318 (name "perl-test-tester")
1319 (version "0.109")
1320 (source (origin
1321 (method url-fetch)
1322 (uri (string-append "mirror://cpan/authors/id/F/FD/FDALY/"
1323 "Test-Tester-" version ".tar.gz"))
1324 (sha256
1325 (base32
1326 "0m9n28z09kq455r5nydj1bnr85lvmbfpcbjdkjfbpmfb5xgciiyk"))))
1327 (build-system perl-build-system)
1328 (synopsis "Simplify running Test::Builder tests")
1329 (description
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)))
1334
1335 (define-public perl-test-perltidy
1336 (package
1337 (name "perl-test-perltidy")
1338 (version "20130104")
1339 (source
1340 (origin
1341 (method url-fetch)
1342 (uri (string-append
1343 "mirror://cpan/authors/id/L/LA/LARRYL/Test-PerlTidy-"
1344 version ".tar.gz"))
1345 (sha256
1346 (base32
1347 "1j5rsb4km9rzcbd1ljavj8vm42bmilji40v2jj2k87l1ykrxj59z"))))
1348 (build-system perl-build-system)
1349 (propagated-inputs
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")
1356 (description
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)))
1360
1361 (define-public perl-test-trap
1362 (package
1363 (name "perl-test-trap")
1364 (version "0.3.4")
1365 (source
1366 (origin
1367 (method url-fetch)
1368 (uri (string-append "mirror://cpan/authors/id/E/EB/EBHANSSEN/"
1369 "Test-Trap-v" version ".tar.gz"))
1370 (sha256
1371 (base32 "1qjs2080kcc66s4d7499br5lw2qmhr9gxky4xsl6vjdn6dpna10b"))))
1372 (build-system perl-build-system)
1373 (native-inputs
1374 `(("perl-module-build" ,perl-module-build)
1375 ("perl-test-simple" ,perl-test-simple)))
1376 (propagated-inputs
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)))
1385
1386 (define-public perl-test-utf8
1387 (package
1388 (name "perl-test-utf8")
1389 (version "1.01")
1390 (source
1391 (origin
1392 (method url-fetch)
1393 (uri (string-append "mirror://cpan/authors/id/M/MA/MARKF/"
1394 "Test-utf8-" version ".tar.gz"))
1395 (sha256
1396 (base32
1397 "0yhvf735v334qqvp9zg7i66qyk6r4cbk5s2psv93d3fdd4bindzg"))))
1398 (build-system perl-build-system)
1399 (native-inputs
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)))
1408
1409 (define-public perl-test-version
1410 (package
1411 (name "perl-test-version")
1412 (version "2.09")
1413 (source
1414 (origin
1415 (method url-fetch)
1416 (uri (string-append
1417 "mirror://cpan/authors/id/P/PL/PLICEASE/Test-Version-"
1418 version
1419 ".tar.gz"))
1420 (sha256
1421 (base32
1422 "1q1qradaf7r2rb3jhpv01wl8z3bxymkfqrl9gwdhxwx5jwldvqcw"))))
1423 (build-system perl-build-system)
1424 (native-inputs
1425 `(("perl-test-exception" ,perl-test-exception)))
1426 (propagated-inputs
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")
1430 (description
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)))
1434
1435 (define-public perl-test-warn
1436 (package
1437 (name "perl-test-warn")
1438 (version "0.30")
1439 (source
1440 (origin
1441 (method url-fetch)
1442 (uri (string-append "mirror://cpan/authors/id/C/CH/CHORNY/"
1443 "Test-Warn-" version ".tar.gz"))
1444 (sha256
1445 (base32
1446 "0haf2ii7br5z0psmkvlvmx2z2q9qz1c70gx0969r378qjidmb5w1"))))
1447 (build-system perl-build-system)
1448 (propagated-inputs
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)))
1455
1456 (define-public perl-test-warnings
1457 (package
1458 (name "perl-test-warnings")
1459 (version "0.026")
1460 (source
1461 (origin
1462 (method url-fetch)
1463 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1464 "Test-Warnings-" version ".tar.gz"))
1465 (sha256
1466 (base32
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)))
1477
1478 (define-public perl-test-without-module
1479 (package
1480 (name "perl-test-without-module")
1481 (version "0.20")
1482 (source
1483 (origin
1484 (method url-fetch)
1485 (uri (string-append "mirror://cpan/authors/id/C/CO/CORION/"
1486 "Test-Without-Module-" version ".tar.gz"))
1487 (sha256
1488 (base32
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
1496 installed.")
1497 (license perl-license)))
1498
1499 (define-public perl-test-writevariants
1500 (package
1501 (name "perl-test-writevariants")
1502 (version "0.014")
1503 (source
1504 (origin
1505 (method url-fetch)
1506 (uri (string-append "mirror://cpan/authors/id/R/RE/REHSACK/"
1507 "Test-WriteVariants-" version ".tar.gz"))
1508 (sha256
1509 (base32 "11v4j3607bydxsqy2ylx9w6qr3qxcalfx3mdc4q4ccqmxsyw4jb3"))))
1510 (build-system perl-build-system)
1511 (native-inputs
1512 `(("perl-test-most" ,perl-test-most)
1513 ("perl-test-directory" ,perl-test-directory)))
1514 (propagated-inputs
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
1524
1525 (define-public perl-test-yaml
1526 (package
1527 (name "perl-test-yaml")
1528 (version "1.07")
1529 (source
1530 (origin
1531 (method url-fetch)
1532 (uri (string-append "mirror://cpan/authors/id/T/TI/TINITA/"
1533 "Test-YAML-" version ".tar.gz"))
1534 (sha256
1535 (base32 "0pwrrnwi1qaiy3c5522vy0kzncxc9g02r4b056wqqaa69w1hsc0z"))))
1536 (build-system perl-build-system)
1537 (propagated-inputs
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
1542 support.")
1543 (license perl-license)))
1544
1545 (define-public perl-test-trailingspace
1546 (package
1547 (name "perl-test-trailingspace")
1548 (version "0.0301")
1549 (source
1550 (origin
1551 (method url-fetch)
1552 (uri (string-append
1553 "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-TrailingSpace-"
1554 version
1555 ".tar.gz"))
1556 (sha256
1557 (base32
1558 "0w2rvsksv7cmf80v632xm2rwxrv933kzz97839yhwynvg9s7b252"))))
1559 (build-system perl-build-system)
1560 (native-inputs
1561 `(("perl-module-build" ,perl-module-build)
1562 ("perl-file-find-object" ,perl-file-find-object)
1563 ("perl-class-xsaccessor" ,perl-class-xsaccessor)))
1564 (inputs
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)))
1568 (home-page
1569 "https://metacpan.org/release/Test-TrailingSpace")
1570 (synopsis
1571 "Test for trailing space in Perl source files")
1572 (description "Test::TrailingSpace tests for trailing spaces
1573 in Perl source files.")
1574 (license x11)))