gnu: emacs-consult: Fix grammar.
[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, 2021 Efraim Flashner <efraim@flashner.co.il>
8 ;;; Copyright © 2016, 2017 Alex Sassmannshausen <alex@pompo.co>
9 ;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
10 ;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
11 ;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
12 ;;; Copyright © 2017 Petter <petter@mykolab.ch>
13 ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
14 ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
15 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
16 ;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
17 ;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
18 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
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)
38 #:use-module (gnu packages valgrind)
39 #:use-module (gnu packages web)
40 #:use-module (guix packages)
41 #:use-module (guix download)
42 #:use-module (guix build-system perl)
43 #:use-module (gnu packages perl))
44
45 ;;;
46 ;;; Please: Try to add new module packages in alphabetic order.
47 ;;;
48
49 \f
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
66 overriding @code{Config} values, even for the readonly @code{XSConfig}
67 implementation as used in cperl. It does not store the mocked overrides
68 lexically, just dynamically.")
69 (license artistic2.0)))
70
71 (define-public perl-test2-suite
72 (package
73 (name "perl-test2-suite")
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
88 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
89 (propagated-inputs
90 `(("perl-importer" ,perl-importer)
91 ("perl-term-table" ,perl-term-table)
92 ("perl-sub-info" ,perl-sub-info)))
93 (home-page "https://metacpan.org/pod/Test2-Suite")
94 (synopsis "Full set of tools for Test2::Suite")
95 (description "This package provides a rich set of tools, plugins, bundles,
96 etc built upon the Test2 testing library.")
97 (license perl-license)))
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)
112 (native-inputs
113 `(("perl-ipc-run3" ,perl-ipc-run3)))
114 (propagated-inputs
115 `(("perl-test2-suite" ,perl-test2-suite)))
116 (home-page "https://metacpan.org/release/Test2-Plugin-NoWarnings")
117 (synopsis "Fail if tests warn")
118 (description "Loading this plugin causes your tests to fail if there any
119 warnings while they run. Each warning generates a new failing test and the
120 warning content is outputted via diag.")
121 (license perl-license)))
122
123 (define-public perl-test-base
124 (package
125 (name "perl-test-base")
126 (version "0.89")
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
134 "056hibgg3i2b89mwr76vyxi6ayb3hqjqcwicvn3s5lximsma3517"))))
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)))
142 (home-page "https://metacpan.org/release/Test-Base")
143 (synopsis "Data-driven testing framework for Perl")
144 (description "Test::Base gives a way to trivially write your own test
145 framework base class. It concentrates on offering reusable data driven
146 patterns, so that you can write tests with a minimum of code.")
147 (license perl-license)))
148
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
170 installed properly.")
171 (license perl-license)))
172
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)))
194 (home-page "https://metacpan.org/release/Test-Class")
195 (synopsis "Easily create test classes in an xUnit/JUnit style")
196 (description "@code{Test::Class} provides a simple way of creating classes
197 and objects to test your code in an xUnit style.
198
199 Built using @code{Test::Builder}, it was designed to work with other
200 @code{Test::Builder} based modules (@code{Test::More},
201 @code{Test::Differences}, @code{Test::Exception}, etc.).")
202 (license perl-license)))
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)))
227 (home-page "https://metacpan.org/release/Test-Class-Most")
228 (synopsis "Test classes the easy way")
229 (description "@code{Test::Class::Most} provides some more convenience when
230 using @code{Test::Class}.")
231 (license perl-license)))
232
233 (define-public perl-test-cleannamespaces
234 (package
235 (name "perl-test-cleannamespaces")
236 (version "0.24")
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
243 (base32 "0yijspncqgmbkkxrh66xx1pliajar05yqhzq6m4nb6p8x1lmb39k"))))
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)
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)))
258 (home-page "https://metacpan.org/release/Test-CleanNamespaces")
259 (synopsis "Check for uncleaned imports")
260 (description "This module lets you check your module's namespaces for
261 imported functions you might have forgotten to remove with
262 namespace::autoclean or namespace::clean and are therefore available to be
263 called as methods, which usually isn't want you want.")
264 (license perl-license)))
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
285 output 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
308 "https://metacpan.org/release/Test-CPAN-Meta")
309 (synopsis "Validate your CPAN META.yml files")
310 (description
311 "This module was written to ensure that a META.yml file meets the
312 specification.")
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
336 "https://metacpan.org/release/Test-CPAN-Meta-JSON")
337 (synopsis "Validate your CPAN META.json files")
338 (description
339 "This module was written to ensure that a META.json file meets the
340 specification.")
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)
355 (inputs `(("perl-test-nowarnings" ,perl-test-nowarnings)))
356 (synopsis "Flexible deep comparison for the Test::Builder framework")
357 (description
358 "Test::Deep compares two structures by going through each level, ensuring
359 that the values match, that arrays and hashes have the same elements and that
360 references are blessed into the correct class. It also handles circular data
361 structures without getting caught in an infinite loop.")
362 (home-page "https://metacpan.org/release/Test-Deep")
363 (license gpl1+))) ; or "Artistic License"
364
365 (define-public perl-test-differences
366 (package
367 (name "perl-test-differences")
368 (version "0.67")
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
375 (base32 "1nkqr3m4lbzw7fkkzah42aiqlhxapamk6kw7hj90cjwkifsbp3f8"))))
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)))
382 (home-page "https://metacpan.org/release/Test-Differences")
383 (synopsis "Test strings and data structures and show differences")
384 (description "This module exports three test functions and four diff-style
385 functions.")
386 ;; See LICENSE section of Test/Differences.pm, which reads "... GNU public
387 ;; license, any version, ..."
388 (license gpl3+)))
389
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
411 attributes.")
412 (license perl-license)))
413
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)))
428 (home-page "https://metacpan.org/release/Test-Directory")
429 (synopsis "Perl extension for maintaining test directories")
430 (description "Testing code can involve making sure that files are created
431 and deleted as expected. Doing this manually can be error prone, as it's easy
432 to forget a file, or miss that some unexpected file was added. This module
433 simplifies maintaining test directories by tracking their status as they are
434 modified or tested with this API, making it simple to test both individual
435 files, as well as to verify that there are no missing or unknown files.")
436 (license perl-license)))
437
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
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}
486 goes through all the modules in your distribution, checks their POD,
487 checks that they compile successfully and checks that they all define
488 a $VERSION. In addition, this module performs a number of tests on
489 the distribution itself. It checks that the distributed files match
490 the SIGNATURE file, if that file exists. It checks that the
491 distribution is not missing any core description files. It also
492 checks that the complete set of pre-requisite packages are listed in
493 the Makefile.PL file.")
494 (license perl-license)))
495
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
512 "https://metacpan.org/release/Test-EOL")
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
517 and/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)))
537 (home-page "https://metacpan.org/release/Test-Exception")
538 (synopsis "Test exception based code")
539 (description "This module provides a few convenience methods for testing
540 exception based code. It is built with Test::Builder and plays happily with
541 Test::More and friends.")
542 (license perl-license)))
543
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)))
560 (home-page "https://metacpan.org/release/Test-FailWarnings")
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
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)))
580 (home-page "https://metacpan.org/release/Test-Fatal")
581 (synopsis "Simple helpers for testing code with exceptions")
582 (description "Test::Fatal is an alternative to the popular
583 Test::Exception. It does much less, but should allow greater flexibility in
584 testing exception-throwing code with about the same amount of typing.")
585 (license perl-license)))
586
587 (define-public perl-test-file
588 (package
589 (name "perl-test-file")
590 (version "1.444")
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 "0195dnvwxxphwbglw6cjid3j7kq15xg46lr7r4468idvadyal6c7"))))
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-object
1069 (package
1070 (name "perl-test-object")
1071 (version "0.08")
1072 (source
1073 (origin
1074 (method url-fetch)
1075 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1076 "Test-Object-" version ".tar.gz"))
1077 (sha256
1078 (base32 "1fyhn558kvla37fb60fzdr6kd2kfcxcmpr8884zk2dvq2ij8j9v5"))))
1079 (build-system perl-build-system)
1080 (home-page "https://metacpan.org/release/Test-Object")
1081 (synopsis "Thoroughly testing objects via registered handlers")
1082 (description
1083 "In situations where you have deep trees of classes,
1084 there is a common situation in which you test a module 4 or 5 subclasses down,
1085 which should follow the correct behaviour of not just the subclass, but of all
1086 the parent classes.
1087
1088 This should be done to ensure that the implementation of a subclass has not
1089 somehow ``broken'' the object's behaviour in a more general sense.
1090
1091 Test::Object is a testing package designed to allow you to easily test what
1092 you believe is a valid object against the expected behaviour of all of the
1093 classes in its inheritance tree in one single call.")
1094 (license perl-license)))
1095
1096 (define-public perl-test-output
1097 (package
1098 (name "perl-test-output")
1099 (version "1.033")
1100 (source (origin
1101 (method url-fetch)
1102 (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/"
1103 "Test-Output-" version ".tar.gz"))
1104 (sha256
1105 (base32
1106 "0vjm62c7g3xxs3h4lba55dnpr4pg71yrhkdg5b9glxdh80klia7n"))))
1107 (build-system perl-build-system)
1108 (propagated-inputs
1109 `(("perl-capture-tiny" ,perl-capture-tiny)
1110 ("perl-sub-exporter" ,perl-sub-exporter)))
1111 (synopsis "Utilities to test STDOUT and STDERR messages")
1112 (description
1113 "Test::Output provides a simple interface for testing output sent to
1114 STDOUT or STDERR. A number of different utilities are included to try and be
1115 as flexible as possible to the tester.")
1116 (home-page "https://metacpan.org/release/Test-Output")
1117 (license perl-license)))
1118
1119 (define-public perl-test-pod
1120 (package
1121 (name "perl-test-pod")
1122 (version "1.52")
1123 (source
1124 (origin
1125 (method url-fetch)
1126 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1127 "Test-Pod-" version ".tar.gz"))
1128 (sha256
1129 (base32
1130 "1z75x1pxwp8ajwq9iazlg2c3wd7rdlim08yclpdg32qnc36dpa30"))))
1131 (build-system perl-build-system)
1132 (native-inputs `(("perl-module-build" ,perl-module-build)))
1133 (home-page "https://metacpan.org/release/Test-Pod")
1134 (synopsis "Check for POD errors in files")
1135 (description "Check POD files for errors or warnings in a test file, using
1136 Pod::Simple to do the heavy lifting.")
1137 (license perl-license)))
1138
1139 (define-public perl-test-pod-coverage
1140 (package
1141 (name "perl-test-pod-coverage")
1142 (version "1.10")
1143 (source
1144 (origin
1145 (method url-fetch)
1146 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
1147 "Test-Pod-Coverage-" version ".tar.gz"))
1148 (sha256
1149 (base32
1150 "1m203mhgfilz7iqc8mxaw4lw02fz391mni3n25sfx7nryylwrja8"))))
1151 (build-system perl-build-system)
1152 (propagated-inputs
1153 `(("perl-pod-coverage" ,perl-pod-coverage)))
1154 (home-page "https://metacpan.org/release/Test-Pod-Coverage")
1155 (synopsis "Check for pod coverage")
1156 (description "This module adds a test to your Perl distribution which
1157 checks for pod coverage of all appropriate files.")
1158 (license artistic2.0)))
1159
1160 (define-public perl-test-requires
1161 (package
1162 (name "perl-test-requires")
1163 (version "0.11")
1164 (source
1165 (origin
1166 (method url-fetch)
1167 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
1168 "Test-Requires-" version ".tar.gz"))
1169 (sha256
1170 (base32
1171 "03q49vi09b4n31kpnmq4v2dga5ja438a8f1wgkgwvvlpjmadx22b"))))
1172 (build-system perl-build-system)
1173 (home-page "https://metacpan.org/release/Test-Requires")
1174 (synopsis "Checks to see if the module can be loaded")
1175 (description "Test::Requires checks to see if the module can be loaded.
1176 If this fails, then rather than failing tests this skips all tests.")
1177 (license perl-license)))
1178
1179 (define-public perl-test-requiresinternet
1180 (package
1181 (name "perl-test-requiresinternet")
1182 (version "0.05")
1183 (source
1184 (origin
1185 (method url-fetch)
1186 (uri (string-append
1187 "mirror://cpan/authors/id/M/MA/MALLEN/Test-RequiresInternet-"
1188 version
1189 ".tar.gz"))
1190 (sha256
1191 (base32
1192 "0gl33vpj9bb78pzyijp884b66sbw6jkh1ci0xki8rmf03hmb79xv"))))
1193 (build-system perl-build-system)
1194 (home-page "https://metacpan.org/release/Test-RequiresInternet")
1195 (synopsis "Easily test network connectivity when running tests")
1196 (description
1197 "This Perl module is intended to easily test network connectivity to
1198 non-local Internet resources before functional tests begin. If the sockets
1199 cannot connect to the specified hosts and ports, the exception is caught and
1200 reported, and the tests skipped.")
1201 (license perl-license)))
1202
1203 (define-public perl-test-roo
1204 (package
1205 (name "perl-test-roo")
1206 (version "1.004")
1207 (source
1208 (origin
1209 (method url-fetch)
1210 (uri (string-append
1211 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-Roo-"
1212 version ".tar.gz"))
1213 (sha256
1214 (base32
1215 "1mnym49j1lj7gzylma5b6nr4vp75rmgz2v71904v01xmxhy9l4i1"))))
1216 (build-system perl-build-system)
1217 (native-inputs
1218 `(("perl-capture-tiny" ,perl-capture-tiny)))
1219 (propagated-inputs
1220 `(("perl-indirect" ,perl-indirect)
1221 ("perl-moo" ,perl-moo)
1222 ("perl-moox-types-mooselike" ,perl-moox-types-mooselike)
1223 ("perl-multidimensional" ,perl-multidimensional)
1224 ("perl-strictures" ,perl-strictures)
1225 ("perl-sub-install" ,perl-sub-install)))
1226 (home-page "https://metacpan.org/release/Test-Roo")
1227 (synopsis "Composable, reusable tests with roles and Moo")
1228 (description "Test::Roo provides composable, reusable tests with roles.")
1229 (license asl2.0)))
1230
1231 (define-public perl-test-runvalgrind
1232 (package
1233 (name "perl-test-runvalgrind")
1234 (version "0.2.2")
1235 (source
1236 (origin
1237 (method url-fetch)
1238 (uri (string-append
1239 "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-RunValgrind-"
1240 version
1241 ".tar.gz"))
1242 (sha256
1243 (base32 "1vm5iw5sy0mhjjypaaviil9qgqixmkaghdbjbcyb4lf2mm6d24v9"))))
1244 (build-system perl-build-system)
1245 (native-inputs
1246 `(("perl-module-build" ,perl-module-build)))
1247 (propagated-inputs
1248 `(("perl-path-tiny" ,perl-path-tiny)
1249 ("perl-test-trap" ,perl-test-trap)
1250 ("valgrind" ,valgrind)))
1251 (home-page "https://metacpan.org/release/Test-RunValgrind")
1252 (synopsis "Tests that an external program is valgrind-clean")
1253 (description "Test::RunValgind checks weather Valgrind does not detect
1254 errors (such as memory leaks) in an arbitrary binary executable.")
1255 (license x11)))
1256
1257 (define-public perl-test-script
1258 (package
1259 (name "perl-test-script")
1260 (version "1.20")
1261 (source (origin
1262 (method url-fetch)
1263 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
1264 "Test-Script-" version ".tar.gz"))
1265 (sha256
1266 (base32
1267 "1msavbi6przkxq3npm90nv925v58iym9jrk677wn46x19whwzwzm"))))
1268 (build-system perl-build-system)
1269 (propagated-inputs
1270 `(("perl-capture-tiny" ,perl-capture-tiny)
1271 ("perl-probe-perl" ,perl-probe-perl)))
1272 (synopsis "Basic cross-platform tests for scripts")
1273 (description
1274 "The intent of the Test::Script module is to provide a series of basic
1275 tests for 80% of the testing you will need to do for scripts in the script (or
1276 bin as is also commonly used) paths of your Perl distribution.")
1277 (home-page "https://metacpan.org/release/Test-Script")
1278 (license perl-license)))
1279
1280 (define-public perl-test-sharedfork
1281 (package
1282 (name "perl-test-sharedfork")
1283 (version "0.35")
1284 (source
1285 (origin
1286 (method url-fetch)
1287 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1288 "Test-SharedFork-" version ".tar.gz"))
1289 (sha256
1290 (base32 "17y52j20k1bs9dgf4n6rhh9dn4cfxxbnfn2cfs7pb00fc5jyhci9"))))
1291 (build-system perl-build-system)
1292 (native-inputs
1293 `(("perl-test-requires" ,perl-test-requires)))
1294 (home-page "https://metacpan.org/release/Test-SharedFork")
1295 (synopsis "Fork test in Perl")
1296 (description "Test::SharedFork is a utility module for Test::Builder. It
1297 makes fork(2) safe to use in test cases.")
1298 (license perl-license)))
1299
1300 (define-public perl-test-simple
1301 (package
1302 (name "perl-test-simple")
1303 (version "1.302183")
1304 (source (origin
1305 (method url-fetch)
1306 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1307 "Test-Simple-" version ".tar.gz"))
1308 (sha256
1309 (base32
1310 "1zq6841yrwxmrmhgzmzx0njlymsv9mzl6l5njabfl2j2xjjvs0ws"))))
1311 (build-system perl-build-system)
1312 (synopsis "Basic utilities for writing tests")
1313 (description
1314 "Test::Simple contains basic utilities for writing tests.")
1315 (home-page "https://metacpan.org/release/Test-Simple")
1316 (license perl-license)))
1317
1318 (define-public perl-test-subcalls
1319 (package
1320 (name "perl-test-subcalls")
1321 (version "1.10")
1322 (source
1323 (origin
1324 (method url-fetch)
1325 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1326 "Test-SubCalls-" version ".tar.gz"))
1327 (sha256
1328 (base32 "1hmnv9nkdzyrr6yis0dnkf4lk0hwld3zapiyq7mizrq5barykhfb"))))
1329 (build-system perl-build-system)
1330 (propagated-inputs
1331 `(("perl-hook-lexwrap" ,perl-hook-lexwrap)))
1332 (home-page "https://metacpan.org/release/Test-SubCalls")
1333 (synopsis "Track the number of times subs are called")
1334 (description
1335 "There are a number of different situations (like testing caching
1336 code) where you want to want to do a number of tests, and then verify
1337 that some underlying subroutine deep within the code was called
1338 a specific number of times.
1339
1340 Test::SubCalls module provides a number of functions for doing testing
1341 in this way in association with your normal Test::More (or similar)
1342 test scripts.")
1343 (license perl-license)))
1344
1345 (define-public perl-test-taint
1346 (package
1347 (name "perl-test-taint")
1348 (version "1.08")
1349 (source
1350 (origin
1351 (method url-fetch)
1352 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Taint-"
1353 version ".tar.gz"))
1354 (sha256
1355 (base32
1356 "0zd946qam0yffpciqqd9xhn92gdplyh3mii4a1w96b1max14snax"))))
1357 (build-system perl-build-system)
1358 (home-page "https://metacpan.org/release/Test-Taint")
1359 (synopsis "Checks for taintedness of variables")
1360 (description "Tainted data is data that comes from an unsafe source, such
1361 as the command line, or, in the case of web apps, any @code{GET} or
1362 @code{POST} transactions. Read the @code{perlsec} man page for details on why
1363 tainted data is bad, and how to untaint the data.
1364
1365 When you're writing unit tests for code that deals with tainted data, you'll
1366 want to have a way to provide tainted data for your routines to handle, and
1367 easy ways to check and report on the taintedness of your data, in standard
1368 @code{Test::More} style.")
1369 (license perl-license)))
1370
1371 (define-public perl-test-tester
1372 (package
1373 (name "perl-test-tester")
1374 (version "0.109")
1375 (source (origin
1376 (method url-fetch)
1377 (uri (string-append "mirror://cpan/authors/id/F/FD/FDALY/"
1378 "Test-Tester-" version ".tar.gz"))
1379 (sha256
1380 (base32
1381 "0m9n28z09kq455r5nydj1bnr85lvmbfpcbjdkjfbpmfb5xgciiyk"))))
1382 (build-system perl-build-system)
1383 (synopsis "Simplify running Test::Builder tests")
1384 (description
1385 "Test::Tester allows testing of test modules based on Test::Builder with
1386 a minimum of effort.")
1387 (home-page "https://metacpan.org/release/FDALY/Test-Tester-0.109")
1388 (license perl-license)))
1389
1390 (define-public perl-test-perltidy
1391 (package
1392 (name "perl-test-perltidy")
1393 (version "20130104")
1394 (source
1395 (origin
1396 (method url-fetch)
1397 (uri (string-append
1398 "mirror://cpan/authors/id/L/LA/LARRYL/Test-PerlTidy-"
1399 version ".tar.gz"))
1400 (sha256
1401 (base32
1402 "1j5rsb4km9rzcbd1ljavj8vm42bmilji40v2jj2k87l1ykrxj59z"))))
1403 (build-system perl-build-system)
1404 (propagated-inputs
1405 `(("perl-file-finder" ,perl-file-finder)
1406 ("perl-file-slurp" ,perl-file-slurp)
1407 ("perltidy" ,perltidy)
1408 ("perl-text-diff" ,perl-text-diff)))
1409 (home-page "https://metacpan.org/release/Test-PerlTidy")
1410 (synopsis "Check that all your Perl files are tidy")
1411 (description
1412 "Using @code{Test::PerlTidy}, any file ending in .pl, .pm, .t or .PL will
1413 cause a test fail unless it is exactly as @code{perltidy} would like it to be.")
1414 (license perl-license)))
1415
1416 (define-public perl-test-trap
1417 (package
1418 (name "perl-test-trap")
1419 (version "0.3.4")
1420 (source
1421 (origin
1422 (method url-fetch)
1423 (uri (string-append "mirror://cpan/authors/id/E/EB/EBHANSSEN/"
1424 "Test-Trap-v" version ".tar.gz"))
1425 (sha256
1426 (base32 "1qjs2080kcc66s4d7499br5lw2qmhr9gxky4xsl6vjdn6dpna10b"))))
1427 (build-system perl-build-system)
1428 (native-inputs
1429 `(("perl-module-build" ,perl-module-build)
1430 ("perl-test-simple" ,perl-test-simple)))
1431 (propagated-inputs
1432 `(("perl-data-dump" ,perl-data-dump)))
1433 (home-page "https://metacpan.org/release/Test-Trap")
1434 (synopsis "Trap exit codes, exceptions, output, and so on")
1435 (description "This module is primarily (but not exclusively) for use in
1436 test scripts: A block eval configurable and extensible but by default trapping
1437 STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values
1438 from boxed blocks of test code.")
1439 (license perl-license)))
1440
1441 (define-public perl-test-utf8
1442 (package
1443 (name "perl-test-utf8")
1444 (version "1.02")
1445 (source
1446 (origin
1447 (method url-fetch)
1448 (uri (string-append "mirror://cpan/authors/id/M/MA/MARKF/"
1449 "Test-utf8-" version ".tar.gz"))
1450 (sha256
1451 (base32 "1mwbdgbbzm54v7wdw3l80bk73lr4z9i8274zlhjhp0s0b6fg10nz"))))
1452 (build-system perl-build-system)
1453 (native-inputs
1454 `(("perl-module-install" ,perl-module-install)))
1455 (home-page "https://metacpan.org/release/Test-utf8")
1456 (synopsis "UTF-8 testing in Perl")
1457 (description "This module is a collection of tests useful for dealing with
1458 UTF-8 strings in Perl. This module has two types of tests: The validity tests
1459 check if a string is valid and not corrupt, whereas the characteristics tests
1460 will check that string has a given set of characteristics.")
1461 (license perl-license)))
1462
1463 (define-public perl-test-version
1464 (package
1465 (name "perl-test-version")
1466 (version "2.09")
1467 (source
1468 (origin
1469 (method url-fetch)
1470 (uri (string-append
1471 "mirror://cpan/authors/id/P/PL/PLICEASE/Test-Version-"
1472 version
1473 ".tar.gz"))
1474 (sha256
1475 (base32
1476 "1q1qradaf7r2rb3jhpv01wl8z3bxymkfqrl9gwdhxwx5jwldvqcw"))))
1477 (build-system perl-build-system)
1478 (native-inputs
1479 `(("perl-test-exception" ,perl-test-exception)))
1480 (propagated-inputs
1481 `(("perl-file-find-rule-perl" ,perl-file-find-rule-perl)))
1482 (home-page "https://metacpan.org/release/Test-Version")
1483 (synopsis "Check versions in modules")
1484 (description
1485 "@code{Test::Version} checks to ensure that all modules have a version
1486 defined, and that the version is valid.")
1487 (license artistic2.0)))
1488
1489 (define-public perl-test-warn
1490 (package
1491 (name "perl-test-warn")
1492 (version "0.36")
1493 (source
1494 (origin
1495 (method url-fetch)
1496 (uri (string-append "mirror://cpan/authors/id/B/BI/BIGJ/"
1497 "Test-Warn-" version ".tar.gz"))
1498 (sha256
1499 (base32
1500 "1nkc7jzxff0w4x9axbpsgxrksqdjnf70rb74q39zikkrsd3a7g7c"))))
1501 (build-system perl-build-system)
1502 (propagated-inputs
1503 `(("perl-sub-uplevel" ,perl-sub-uplevel)))
1504 (home-page "https://metacpan.org/release/Test-Warn")
1505 (synopsis "Perl extension to test methods for warnings")
1506 (description "This module provides a few convenience methods for testing
1507 warning based code.")
1508 (license perl-license)))
1509
1510 (define-public perl-test-warnings
1511 (package
1512 (name "perl-test-warnings")
1513 (version "0.030")
1514 (source
1515 (origin
1516 (method url-fetch)
1517 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1518 "Test-Warnings-" version ".tar.gz"))
1519 (sha256
1520 (base32
1521 "0kz2daardmr2i5vg7g3h0cvw9xnp6d25hx92280swr0mvxyr9949"))))
1522 (build-system perl-build-system)
1523 (home-page "https://metacpan.org/release/Test-Warnings")
1524 (synopsis "Test for warnings and the lack of them")
1525 (description "This module is intended to be used as a drop-in replacement
1526 for Test::NoWarnings. It also adds an extra test, but runs this test before
1527 done_testing calculates the test count, rather than after. It does this by
1528 hooking into done_testing as well as via an END block. You can declare a
1529 plan, or not, and things will still Just Work.")
1530 (license perl-license)))
1531
1532 (define-public perl-test-without-module
1533 (package
1534 (name "perl-test-without-module")
1535 (version "0.20")
1536 (source
1537 (origin
1538 (method url-fetch)
1539 (uri (string-append "mirror://cpan/authors/id/C/CO/CORION/"
1540 "Test-Without-Module-" version ".tar.gz"))
1541 (sha256
1542 (base32
1543 "0955ib9cz1naz7a2v6lx78kj29q7ihmdn51im6wd1im669yfp6lf"))))
1544 (build-system perl-build-system)
1545 (home-page "https://metacpan.org/release/Test-Without-Module")
1546 (synopsis "Test fallback behaviour in absence of modules")
1547 (description "This module allows you to deliberately hide modules from a
1548 program even though they are installed. This is mostly useful for testing
1549 modules that have a fallback when a certain dependency module is not
1550 installed.")
1551 (license perl-license)))
1552
1553 (define-public perl-test-writevariants
1554 (package
1555 (name "perl-test-writevariants")
1556 (version "0.014")
1557 (source
1558 (origin
1559 (method url-fetch)
1560 (uri (string-append "mirror://cpan/authors/id/R/RE/REHSACK/"
1561 "Test-WriteVariants-" version ".tar.gz"))
1562 (sha256
1563 (base32 "11v4j3607bydxsqy2ylx9w6qr3qxcalfx3mdc4q4ccqmxsyw4jb3"))))
1564 (build-system perl-build-system)
1565 (native-inputs
1566 `(("perl-test-most" ,perl-test-most)
1567 ("perl-test-directory" ,perl-test-directory)))
1568 (propagated-inputs
1569 `(("perl-data-tumbler" ,perl-data-tumbler)
1570 ("perl-file-homedir" ,perl-file-homedir)
1571 ("perl-module-pluggable" ,perl-module-pluggable)
1572 ("perl-module-runtime" ,perl-module-runtime)))
1573 (home-page "https://metacpan.org/release/Test-WriteVariants")
1574 (synopsis "Dynamic generation of tests")
1575 (description "The Test::WriteVariants module provides for the dynamic
1576 generation of tests in nested combinations of contexts.")
1577 (license perl-license))) ; see LICENSE
1578
1579 (define-public perl-test-yaml
1580 (package
1581 (name "perl-test-yaml")
1582 (version "1.07")
1583 (source
1584 (origin
1585 (method url-fetch)
1586 (uri (string-append "mirror://cpan/authors/id/T/TI/TINITA/"
1587 "Test-YAML-" version ".tar.gz"))
1588 (sha256
1589 (base32 "0pwrrnwi1qaiy3c5522vy0kzncxc9g02r4b056wqqaa69w1hsc0z"))))
1590 (build-system perl-build-system)
1591 (propagated-inputs
1592 `(("perl-test-base" ,perl-test-base)))
1593 (home-page "https://metacpan.org/release/Test-YAML")
1594 (synopsis "Testing module for YAML implementations")
1595 (description "Test::YAML is a subclass of Test::Base with YAML specific
1596 support.")
1597 (license perl-license)))
1598
1599 (define-public perl-test-trailingspace
1600 (package
1601 (name "perl-test-trailingspace")
1602 (version "0.0600")
1603 (source
1604 (origin
1605 (method url-fetch)
1606 (uri (string-append
1607 "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-TrailingSpace-"
1608 version
1609 ".tar.gz"))
1610 (sha256
1611 (base32
1612 "04aszaw4n3sra7n7sq2cj4wjjvfghia9zqi47aj00ry0vqx2d7gh"))))
1613 (build-system perl-build-system)
1614 (native-inputs
1615 `(("perl-module-build" ,perl-module-build)
1616 ("perl-file-find-object" ,perl-file-find-object)
1617 ("perl-class-xsaccessor" ,perl-class-xsaccessor)))
1618 (inputs
1619 `(("perl-file-find-object-rule" ,perl-file-find-object-rule)
1620 ("perl-text-glob" ,perl-text-glob)
1621 ("perl-number-compare" ,perl-number-compare)))
1622 (home-page
1623 "https://metacpan.org/release/Test-TrailingSpace")
1624 (synopsis
1625 "Test for trailing space in Perl source files")
1626 (description "Test::TrailingSpace tests for trailing spaces
1627 in Perl source files.")
1628 (license x11)))