gnu: Add ghc-cipher-aes.
[jackhill/guix/guix.git] / gnu / packages / perl-check.scm
CommitLineData
5ccde207
RW
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
3;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
4;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
5;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
4a78fd46 6;;; Copyright © 2016 Nils Gillmann <ng0@n0.is>
5ccde207
RW
7;;; Copyright © 2016, 2017 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>
d948fe7c 13;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
ab125315 14;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
5ccde207
RW
15;;;
16;;; This file is part of GNU Guix.
17;;;
18;;; GNU Guix is free software; you can redistribute it and/or modify it
19;;; under the terms of the GNU General Public License as published by
20;;; the Free Software Foundation; either version 3 of the License, or (at
21;;; your option) any later version.
22;;;
23;;; GNU Guix is distributed in the hope that it will be useful, but
24;;; WITHOUT ANY WARRANTY; without even the implied warranty of
25;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26;;; GNU General Public License for more details.
27;;;
28;;; You should have received a copy of the GNU General Public License
29;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
30
31(define-module (gnu packages perl-check)
32 #:use-module (guix licenses)
33 #:use-module (gnu packages)
34 #:use-module (guix packages)
35 #:use-module (guix download)
36 #:use-module (guix build-system perl)
37 #:use-module (gnu packages perl))
38
f1a2cb94
TGR
39;;;
40;;; Please: Try to add new module packages in alphabetic order.
41;;;
42
43\f
5ccde207
RW
44(define-public perl-test2-bundle-extended
45 (package
46 (name "perl-test2-bundle-extended")
47 (version "0.000072")
48 (source
49 (origin
50 (method url-fetch)
51 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/Test2-Suite-"
52 version ".tar.gz"))
53 (sha256
54 (base32
55 "0hgd6n29qjh1pwqvbglm2kb852yqshmixqqjhsr2kvvibdr58qpf"))))
56 (build-system perl-build-system)
57 (arguments
58 '(#:phases
59 (modify-phases %standard-phases
60 (add-after 'unpack 'set-env
61 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
62 (propagated-inputs
63 `(("perl-importer" ,perl-importer)
64 ("perl-term-table" ,perl-term-table)
65 ("perl-sub-info" ,perl-sub-info)))
66 (home-page "http://search.cpan.org/~exodist/Test2-Suite/lib/Test2/Bundle/Extended.pm")
67 (synopsis "Full set of tools for Test2::Suite")
68 (description "This package provides a rich set of tools, plugins, bundles,
69etc built upon the Test2 testing library.")
70 (license perl-license)))
71
72(define-public perl-test2-plugin-nowarnings
73 (package
74 (name "perl-test2-plugin-nowarnings")
75 (version "0.06")
76 (source
77 (origin
78 (method url-fetch)
79 (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/Test2-Plugin-NoWarnings-"
80 version ".tar.gz"))
81 (sha256
82 (base32
83 "002qk6qsm0l6r2kaxywvc38w0yf0mlavgywq8li076pn6kcw3242"))))
84 (build-system perl-build-system)
85 (propagated-inputs
86 `(("perl-test2-bundle-extended" ,perl-test2-bundle-extended)))
87 (home-page "http://search.cpan.org/dist/Test2-Plugin-NoWarnings//")
88 (synopsis "Fail if tests warn")
89 (description "Loading this plugin causes your tests to fail if there any
90warnings while they run. Each warning generates a new failing test and the
91warning content is outputted via diag.")
92 (license perl-license)))
93
94(define-public perl-test-base
95 (package
96 (name "perl-test-base")
97 (version "0.88")
98 (source
99 (origin
100 (method url-fetch)
101 (uri (string-append "mirror://cpan/authors/id/I/IN/INGY/"
102 "Test-Base-" version ".tar.gz"))
103 (sha256
104 (base32
105 "0fch1cvivnszbnwhpfmwv1rin04j5xkj1n1ylfmlxg6bm72qqdjj"))))
106 (build-system perl-build-system)
107 (native-inputs
108 `(("perl-algorithm-diff" ,perl-algorithm-diff)
109 ("perl-text-diff" ,perl-text-diff)))
110 (propagated-inputs
111 `(("perl-spiffy" ,perl-spiffy)
112 ("perl-test-deep" ,perl-test-deep)))
113 (home-page "http://search.cpan.org/dist/Test-Base/")
114 (synopsis "Data-driven testing framework for Perl")
115 (description "Test::Base gives a way to trivially write your own test
116framework base class. It concentrates on offering reusable data driven
117patterns, so that you can write tests with a minimum of code.")
118 (license perl-license)))
119
120(define-public perl-test-class
121 (package
122 (name "perl-test-class")
123 (version "0.50")
124 (source
125 (origin
126 (method url-fetch)
127 (uri (string-append
128 "https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Class-"
129 version
130 ".tar.gz"))
131 (sha256
132 (base32
133 "0l0kk5jvxjkic2jkf1r7v41irb344aasnzr3f5ygjgxgiknm9489"))))
134 (build-system perl-build-system)
135 (native-inputs
136 `(("perl-test-exception" ,perl-test-exception)))
137 (inputs
138 `(("perl-module-runtime" ,perl-module-runtime)
139 ("perl-mro-compat" ,perl-mro-compat)
140 ("perl-try-tiny" ,perl-try-tiny)))
141 (home-page "http://search.cpan.org/dist/Test-Class/")
142 (synopsis "Easily create test classes in an xUnit/JUnit style")
143 (description "@code{Test::Class} provides a simple way of creating classes
144and objects to test your code in an xUnit style.
145
146Built using @code{Test::Builder}, it was designed to work with other
147@code{Test::Builder} based modules (@code{Test::More},
148@code{Test::Differences}, @code{Test::Exception}, etc.).")
149 (license perl-license)))
150
151(define-public perl-test-class-most
152 (package
153 (name "perl-test-class-most")
154 (version "0.08")
155 (source
156 (origin
157 (method url-fetch)
158 (uri (string-append
159 "mirror://cpan/authors/id/O/OV/OVID/Test-Class-Most-"
160 version
161 ".tar.gz"))
162 (sha256
163 (base32
164 "1zvx9hil0mg0pnb8xfa4m0xgjpvh8s5gnbyprq3xwpdsdgcdwk33"))))
165 (build-system perl-build-system)
166 (native-inputs
167 `(("perl-module-build" ,perl-module-build)))
168 (inputs
169 `(("perl-test-class" ,perl-test-class)
170 ("perl-test-most" ,perl-test-most)
171 ("perl-module-runtime" ,perl-module-runtime)
172 ("perl-try-tiny" ,perl-try-tiny)
173 ("perl-mro-compat" ,perl-mro-compat)))
174 (home-page "http://search.cpan.org/dist/Test-Class-Most/")
175 (synopsis "Test classes the easy way")
176 (description "@code{Test::Class::Most} provides some more convenience when
177using @code{Test::Class}.")
178 (license perl-license)))
179
180(define-public perl-test-cleannamespaces
181 (package
182 (name "perl-test-cleannamespaces")
183 (version "0.22")
184 (source
185 (origin
186 (method url-fetch)
187 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
188 "Test-CleanNamespaces-" version ".tar.gz"))
189 (sha256
190 (base32
191 "1jma95agqqy7iwdcl6jbg1waqz7mjqng4l046lpknhfxjhcj4al6"))))
192 (build-system perl-build-system)
193 (native-inputs
194 `(("perl-file-pushd" ,perl-file-pushd)
195 ("perl-test-requires" ,perl-test-requires)
196 ("perl-test-deep" ,perl-test-deep)
197 ("perl-test-warnings" ,perl-test-warnings)
198 ("perl-test-tester" ,perl-test-tester)
199 ("perl-test-needs" ,perl-test-needs)))
200 (propagated-inputs
201 `(("perl-namespace-clean" ,perl-namespace-clean)
202 ("perl-package-stash" ,perl-package-stash)
203 ("perl-sub-identify" ,perl-sub-identify)
204 ("perl-sub-exporter" ,perl-sub-exporter)
205 ("perl-file-find-rule" ,perl-file-find-rule)
206 ("perl-file-find-rule-perl" ,perl-file-find-rule-perl)))
207 (home-page "http://search.cpan.org/dist/Test-CleanNamespaces/")
208 (synopsis "Check for uncleaned imports")
209 (description "This module lets you check your module's namespaces for
210imported functions you might have forgotten to remove with
211namespace::autoclean or namespace::clean and are therefore available to be
212called as methods, which usually isn't want you want.")
213 (license perl-license)))
214
215(define-public perl-test-command
216 (package
217 (name "perl-test-command")
218 (version "0.11")
219 (source (origin
220 (method url-fetch)
221 (uri (string-append
222 "mirror://cpan/authors/id/D/DA/DANBOO/Test-Command-"
223 version ".tar.gz"))
224 (sha256
225 (base32
226 "0cwm3c4d49mdrbm6vgh78b3x8mk730l0zg8i7xb9z8bkx9pzr8r8"))))
227 (build-system perl-build-system)
228 (native-inputs
229 `(("perl-module-build" ,perl-module-build)))
230 (home-page "https://github.com/danboo/perl-test-command")
231 (synopsis "Test routines for external commands")
232 (description
233 "This module provides routines for testing the exit status, standard
234output and standard error of external commands.")
235 (license perl-license)))
236
237(define-public perl-test-cpan-meta
238 (package
239 (name "perl-test-cpan-meta")
240 (version "0.25")
241 (source
242 (origin
243 (method url-fetch)
244 (uri (string-append
245 "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-"
246 version
247 ".tar.gz"))
248 (sha256
249 (base32
250 "1dcdbbdwdyhpldkhjzc9rvzlmb5jbil6fwh2x07nsfdwysf4ynzm"))))
251 (build-system perl-build-system)
252 (native-inputs
253 `(("perl-test-cpan-meta-json" ,perl-test-cpan-meta-json)
254 ("perl-test-pod" ,perl-test-pod)
255 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
256 (home-page
257 "http://search.cpan.org/dist/Test-CPAN-Meta/")
258 (synopsis "Validate your CPAN META.yml files")
259 (description
260 "This module was written to ensure that a META.yml file meets the
261specification.")
262 (license artistic2.0)))
263
264(define-public perl-test-cpan-meta-json
265 (package
266 (name "perl-test-cpan-meta-json")
267 (version "0.16")
268 (source
269 (origin
270 (method url-fetch)
271 (uri (string-append
272 "mirror://cpan/authors/id/B/BA/BARBIE/Test-CPAN-Meta-JSON-"
273 version
274 ".tar.gz"))
275 (sha256
276 (base32
277 "1jg9ka50ixwq083wd4k12rhdjq87w0ihb34gd8jjn7gvvyd51b37"))))
278 (build-system perl-build-system)
279 (native-inputs
280 `(("perl-test-pod" ,perl-test-pod)
281 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
282 (inputs
283 `(("perl-json" ,perl-json)))
284 (home-page
285 "http://search.cpan.org/dist/Test-CPAN-Meta-JSON/")
286 (synopsis "Validate your CPAN META.json files")
287 (description
288 "This module was written to ensure that a META.json file meets the
289specification.")
290 (license artistic2.0)))
291
292(define-public perl-test-deep
293 (package
294 (name "perl-test-deep")
295 (version "1.120")
296 (source (origin
297 (method url-fetch)
298 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
299 "Test-Deep-" version ".tar.gz"))
300 (sha256
301 (base32
302 "1kdy06r0yg7zwarqglc9163vbfb0sfc4s6ld4pw5q7i9f7mghzi0"))))
303 (build-system perl-build-system)
304 (inputs `(("perl-test-tester" ,perl-test-tester)
305 ("perl-test-nowarnings" ,perl-test-nowarnings)))
306 (synopsis "Flexible deep comparison for the Test::Builder framework")
307 (description
308 "Test::Deep compares two structures by going through each level, ensuring
309that the values match, that arrays and hashes have the same elements and that
310references are blessed into the correct class. It also handles circular data
311structures without getting caught in an infinite loop.")
312 (home-page "http://search.cpan.org/dist/Test-Deep/")
313 (license gpl1+))) ; or "Artistic License"
314
315(define-public perl-test-differences
316 (package
317 (name "perl-test-differences")
318 (version "0.63")
319 (source
320 (origin
321 (method url-fetch)
322 (uri (string-append "mirror://cpan/authors/id/D/DC/DCANTRELL/"
323 "Test-Differences-" version ".tar.gz"))
324 (sha256
325 (base32
326 "0rhs4q6qn64ji06ns7lwl6iiiw3mggvd9xk9nkiqvx1jihbplrbw"))))
327 (build-system perl-build-system)
328 (native-inputs
329 `(("perl-module-build" ,perl-module-build)))
330 (propagated-inputs
331 `(("perl-text-diff" ,perl-text-diff)
332 ("perl-capture-tiny" ,perl-capture-tiny)))
333 (home-page "http://search.cpan.org/dist/Test-Differences/")
334 (synopsis "Test strings and data structures and show differences")
335 (description "This module exports three test functions and four diff-style
336functions.")
337 ;; See LICENSE section of Test/Differences.pm, which reads "... GNU public
338 ;; license, any version, ..."
339 (license gpl3+)))
340
341(define-public perl-test-directory
342 (package
343 (name "perl-test-directory")
344 (version "0.041")
345 (source
346 (origin
347 (method url-fetch)
348 (uri (string-append "mirror://cpan/authors/id/S/SA/SANBEG/"
349 "Test-Directory-" version ".tar.gz"))
350 (sha256
351 (base32
352 "1ncql08cizhicbxwd753b4czns8nlcnlw0zfjcfrbdd41x4j6hqr"))))
353 (build-system perl-build-system)
354 (native-inputs `(("perl-test-exception" ,perl-test-exception)))
355 (home-page "http://search.cpan.org/dist/Test-Directory/")
356 (synopsis "Perl extension for maintaining test directories")
357 (description "Testing code can involve making sure that files are created
358and deleted as expected. Doing this manually can be error prone, as it's easy
359to forget a file, or miss that some unexpected file was added. This module
360simplifies maintaining test directories by tracking their status as they are
361modified or tested with this API, making it simple to test both individual
362files, as well as to verify that there are no missing or unknown files.")
363 (license perl-license)))
364
365(define-public perl-test-eol
366 (package
367 (name "perl-test-eol")
368 (version "2.00")
369 (source
370 (origin
371 (method url-fetch)
372 (uri (string-append
373 "mirror://cpan/authors/id/E/ET/ETHER/Test-EOL-"
374 version
375 ".tar.gz"))
376 (sha256
377 (base32
378 "0l3bxpsw0x7j9nclizcp53mnf9wny25dmg2iglfhzgnk0xfpwzwf"))))
379 (build-system perl-build-system)
380 (home-page
381 "http://search.cpan.org/dist/Test-EOL/")
382 (synopsis
383 "Check the correct line endings in your project")
384 (description
385 "@code{Test::EOL} lets you check for the presence of trailing whitespace
386and/or windows line endings in your perl code.")
387 (license perl-license)))
388
389(define-public perl-test-exception
390 (package
391 (name "perl-test-exception")
392 (version "0.43")
393 (source
394 (origin
395 (method url-fetch)
396 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
397 "Test-Exception-" version ".tar.gz"))
398 (sha256
399 (base32
400 "0cxm7s4bg0xpxa6l6996a6iq3brr4j7p4hssnkc6dxv4fzq16sqm"))))
401 (build-system perl-build-system)
402 (native-inputs
403 `(("perl-module-build" ,perl-module-build)))
404 (propagated-inputs
405 `(("perl-sub-uplevel" ,perl-sub-uplevel)))
406 (home-page "http://search.cpan.org/dist/Test-Exception/")
407 (synopsis "Test exception based code")
408 (description "This module provides a few convenience methods for testing
409exception based code. It is built with Test::Builder and plays happily with
410Test::More and friends.")
411 (license perl-license)))
412
12d330b0
OP
413(define-public perl-test-failwarnings
414 (package
415 (name "perl-test-failwarnings")
416 (version "0.008")
417 (source
418 (origin
419 (method url-fetch)
420 (uri (string-append
421 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-"
422 version ".tar.gz"))
423 (sha256
424 (base32
425 "0vx9chcp5x8m0chq574p9fnfckh5gl94j7904rh9v17n568fyd6s"))))
426 (build-system perl-build-system)
427 (native-inputs
428 `(("perl-capture-tiny" ,perl-capture-tiny)))
429 (home-page "http://search.cpan.org/dist/Test-FailWarnings/")
430 (synopsis "Add test failures if warnings are caught")
431 (description
432 "Test::FailWarnings adds test failures if warnings are caught.")
433 (license asl2.0)))
434
5ccde207
RW
435(define-public perl-test-fatal
436 (package
437 (name "perl-test-fatal")
438 (version "0.014")
439 (source
440 (origin
441 (method url-fetch)
442 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
443 "Test-Fatal-" version ".tar.gz"))
444 (sha256
445 (base32
446 "1c6bs68mss4q7cyapkv2c0jn66i21050p0faxf3s3417gdffzp5w"))))
447 (build-system perl-build-system)
448 (propagated-inputs `(("perl-try-tiny" ,perl-try-tiny)))
449 (home-page "http://search.cpan.org/dist/Test-Fatal/")
450 (synopsis "Simple helpers for testing code with exceptions")
451 (description "Test::Fatal is an alternative to the popular
452Test::Exception. It does much less, but should allow greater flexibility in
453testing exception-throwing code with about the same amount of typing.")
454 (license perl-license)))
455
456(define-public perl-test-file-sharedir-dist
457 (package
458 (name "perl-test-file-sharedir-dist")
459 (version "1.001002")
460 (source
461 (origin
462 (method url-fetch)
463 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
464 "Test-File-ShareDir-" version ".tar.gz"))
465 (sha256
466 (base32
467 "1bbs6cx69wcinq77gif4i4pmrj8a7lwb92sgvvxzrwmjnk5lfdmk"))))
468 (build-system perl-build-system)
469 (propagated-inputs
470 `(("perl-class-tiny" ,perl-class-tiny)
471 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
472 ("perl-file-sharedir" ,perl-file-sharedir)
473 ("perl-path-tiny" ,perl-path-tiny)
474 ("perl-scope-guard" ,perl-scope-guard)
475 ("perl-test-fatal" ,perl-test-fatal)))
476 (home-page "https://github.com/kentnl/Test-File-ShareDir")
477 (synopsis "Dist oriented ShareDir tester")
478 (description "This module creates a Fake ShareDir for your modules
479for testing.")
480 (license perl-license)))
481
ab125315
OP
482(define-public perl-test-filename
483 (package
484 (name "perl-test-filename")
485 (version "0.03")
486 (source
487 (origin
488 (method url-fetch)
489 (uri (string-append
490 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-Filename-"
491 version ".tar.gz"))
492 (sha256
493 (base32
494 "1gpw4mjw68gnby8s4cifvbz6g2923xsc189jkw9d27i8qv20qiba"))))
495 (build-system perl-build-system)
496 (propagated-inputs
497 `(("perl-path-tiny" ,perl-path-tiny)))
498 (home-page "http://search.cpan.org/dist/Test-Filename/")
499 (synopsis "Portable filename comparison")
500 (description "Test::Filename provides functions to convert all path
501separators automatically.")
502 (license asl2.0)))
503
5ccde207
RW
504(define-public perl-test-files
505 (package
506 (name "perl-test-files")
507 (version "0.14")
508 (source
509 (origin
510 (method url-fetch)
511 (uri (string-append
512 "mirror://cpan/authors/id/P/PH/PHILCROW/Test-Files-"
513 version
514 ".tar.gz"))
515 (sha256
516 (base32
517 "1zn33yigznq7i1jr4yjr4lxvc6bn7znkbqdzj7slhc146pqapkln"))))
518 (build-system perl-build-system)
519 (propagated-inputs
520 `(("perl-algorithm-diff" ,perl-algorithm-diff)
521 ("perl-text-diff" ,perl-text-diff)))
522 (home-page "http://search.cpan.org/dist/Test-Files/")
523 (synopsis "Ease software testing with files and directories")
524 (description "This library provides functions to enable testing of files
525and directories. For instance, the @code{file_ok} helper can test whether the
526contents of a file is equal to a particular string.")
527 (license perl-license)))
528
529(define-public perl-test-harness
530 (package
531 (name "perl-test-harness")
dc8584d2 532 (version "3.41")
5ccde207
RW
533 (source
534 (origin
535 (method url-fetch)
536 (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/"
537 "Test-Harness-" version ".tar.gz"))
538 (sha256
539 (base32
dc8584d2 540 "0cgdgzywvscbvb9i0dmd2ls5jwqlnf2z6hx4f4lljpvdjd59v3m8"))))
5ccde207
RW
541 (build-system perl-build-system)
542 (arguments
543 `(#:phases
544 (modify-phases %standard-phases
545 (add-before 'check 'patch-test
546 (lambda* (#:key inputs #:allow-other-keys)
547 ;; This test looks for "#!/usr/bin/perl" in some source.
548 ;; Patch what the test looks for.
549 (substitute* "t/source.t"
550 (("#!/usr/bin/perl")
551 (string-append "#!" (assoc-ref inputs "perl")
552 "/bin/perl")))
553 #t)))))
554 (home-page "http://search.cpan.org/dist/Test-Harness/")
555 (synopsis "Run Perl standard test scripts with statistics")
556 (description "Simple test harness which allows tests to be run and results
557automatically aggregated and output to STDOUT.")
558 (license perl-license)))
559
560(define-public perl-test-leaktrace
561 (package
562 (name "perl-test-leaktrace")
563 (version "0.16")
564 (source
565 (origin
566 (method url-fetch)
567 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
568 "Test-LeakTrace-" version ".tar.gz"))
569 (sha256
570 (base32
571 "00z4hcjra5nk700f3fgpy8fs036d7ry7glpn8g3wh7jzj7nrw22z"))))
572 (build-system perl-build-system)
573 (home-page "http://search.cpan.org/dist/Test-LeakTrace/")
574 (synopsis "Traces memory leaks in Perl")
575 (description "Test::LeakTrace provides several functions that trace memory
576leaks. This module scans arenas, the memory allocation system, so it can
577detect any leaked SVs in given blocks.")
578 (license perl-license)))
579
580(define-public perl-test-longstring
581 (package
582 (name "perl-test-longstring")
583 (version "0.17")
584 (source
585 (origin
586 (method url-fetch)
587 (uri (string-append "mirror://cpan/authors/id/R/RG/RGARCIA/"
588 "Test-LongString-" version ".tar.gz"))
589 (sha256
590 (base32
591 "0kwp7rfr1i2amz4ckigkv13ah7jr30q6l5k4wk0vxl84myg39i5b"))))
592 (build-system perl-build-system)
593 (home-page "http://search.cpan.org/dist/Test-LongString/")
594 (synopsis "Tests strings for equality, with more helpful failures")
595 (description "This module provides some drop-in replacements for the
596string comparison functions of Test::More, but which are more suitable when
597you test against long strings.")
598 (license perl-license)))
599
600(define-public perl-test-manifest
601 (package
602 (name "perl-test-manifest")
603 (version "2.02")
604 (source (origin
605 (method url-fetch)
606 (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/"
607 "Test-Manifest-" version ".tar.gz"))
608 (sha256
609 (base32
610 "15ik52l9macrrfizf4y6wj71d4lx7w590h2dfajnkmbxmz786iq6"))))
611 (build-system perl-build-system)
612 (native-inputs
613 `(("perl-test-pod" ,perl-test-pod)
614 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
615 (home-page "http://search.cpan.org/dist/Test-Manifest/")
616 (synopsis "Interact with a t/test_manifest file")
617 (description "@code{Test::Manifest} overrides the default test file order. Instead of
618running all of the t/*.t files in ASCII-betical order, it looks in the t/test_manifest
619file to find out which tests you want to run and the order in which you want to run them.
620It constructs the right value for the build system to do the right thing.")
621 (license perl-license)))
622
623(define-public perl-test-memory-cycle
624 (package
625 (name "perl-test-memory-cycle")
626 (version "1.06")
627 (source
628 (origin
629 (method url-fetch)
630 (uri (string-append
631 "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-"
632 version
633 ".tar.gz"))
634 (sha256
635 (base32
636 "00ijmgx1r3cxrcs1qa9rb2s4gbm3nsawd90drda89kb4r7yxslwx"))))
637 (build-system perl-build-system)
638 (inputs
639 `(("perl-padwalker" ,perl-padwalker)))
640 (propagated-inputs
641 `(("perl-devel-cycle" ,perl-devel-cycle)))
642 (home-page
643 "http://search.cpan.org/dist/Test-Memory-Cycle/")
644 (synopsis
645 "Verifies code hasn't left circular references")
646 (description
647 "@code{Test::Memory::Cycle} is built on top of @code{Devel::Cycle} to
648give you an easy way to check for these circular references.
649
650@example
651use Test::Memory::Cycle;
652
653my $object = new MyObject;
654# Do stuff with the object.
655memory_cycle_ok( $object );
656@end example")
657 (license artistic2.0)))
658
d948fe7c
TGR
659(define-public perl-test-mockmodule
660 (package
661 (name "perl-test-mockmodule")
662 (version "0.13")
663 (source
664 (origin
665 (method url-fetch)
666 (uri (string-append "mirror://cpan/authors/id/G/GF/GFRANKS/"
667 "Test-MockModule-" version ".tar.gz"))
668 (sha256
669 (base32 "0lwh6fvnc16r6d74vvh5h4b5a1spcslpjb3mcqbv23k01lm78wvl"))))
670 (build-system perl-build-system)
671 (native-inputs
672 `(("perl-module-build" ,perl-module-build)
673 ;; For tests.
674 ("perl-test-pod" ,perl-test-pod)
675 ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
676 (propagated-inputs
677 `(("perl-super" ,perl-super)))
678 (home-page "http://search.cpan.org/dist/Test-MockModule/")
679 (synopsis "Override subroutines in a module for unit testing")
680 (description
681 "@code{Test::MockModule} lets you temporarily redefine subroutines in other
682packages for the purposes of unit testing. A @code{Test::MockModule} object is
683set up to mock subroutines for a given module. The mocked object remembers the
684original subroutine so it can be easily restored. This happens automatically
685when all @code{MockModule} objects for the given module go out of scope, or when
686you @code{unmock()} the subroutine.")
687 (license gpl3)))
688
5ccde207
RW
689(define-public perl-test-mockobject
690 (package
691 (name "perl-test-mockobject")
692 (version "1.20150527")
693 (source
694 (origin
695 (method url-fetch)
696 (uri (string-append "mirror://cpan/authors/id/C/CH/CHROMATIC/"
697 "Test-MockObject-" version ".tar.gz"))
698 (sha256
699 (base32
700 "160xvhbpwqjaff4fgckvldknldzcbn1z3jvyzybs7cqlj1x3bwdd"))))
701 (build-system perl-build-system)
702 (native-inputs
703 `(("perl-test-exception" ,perl-test-exception)
704 ("perl-test-warn" ,perl-test-warn)))
705 (propagated-inputs
706 `(("perl-test-exception" ,perl-test-exception)
707 ("perl-test-warn" ,perl-test-warn)
708 ("perl-universal-can" ,perl-universal-can)
709 ("perl-universal-isa" ,perl-universal-isa)))
710 (arguments `(#:tests? #f)) ;TODO: tests require perl-cgi
711 (home-page "http://search.cpan.org/dist/Test-MockObject/")
712 (synopsis "Emulate troublesome interfaces in Perl")
713 (description "Test::MockObject allows you to create objects that conform
714to particular interfaces with very little code. You don't have to reimplement
715the behavior, just the input and the output.")
716 (license perl-license)))
717
718(define-public perl-test-mocktime
719 (package
720 (name "perl-test-mocktime")
ab998d5e 721 (version "0.15")
5ccde207
RW
722 (source
723 (origin
724 (method url-fetch)
725 (uri (string-append "mirror://cpan/authors/id/D/DD/DDICK/"
726 "Test-MockTime-" version ".tar.gz"))
727 (sha256
728 (base32
ab998d5e
TGR
729 "0j6cxmkj52i5xkwg8dg6klm0dh386fzc5v80n5nbdalpvq0h48c8"))))
730 (propagated-inputs
731 `(("perl-time-piece" ,perl-time-piece)))
5ccde207
RW
732 (build-system perl-build-system)
733 (home-page "http://search.cpan.org/dist/Test-MockTime/")
734 (synopsis "Replaces actual time with simulated time")
735 (description "This module was created to enable test suites to test code
736at specific points in time. Specifically it overrides localtime, gmtime and
737time at compile time and then relies on the user supplying a mock time via
738set_relative_time, set_absolute_time or set_fixed_time to alter future calls
739to gmtime,time or localtime.")
740 (license perl-license)))
741
742(define-public perl-test-most
743 (package
744 (name "perl-test-most")
697a958a 745 (version "0.35")
5ccde207
RW
746 (source
747 (origin
748 (method url-fetch)
749 (uri (string-append "mirror://cpan/authors/id/O/OV/OVID/"
750 "Test-Most-" version ".tar.gz"))
751 (sha256
752 (base32
697a958a 753 "0zv5dyzq55r28plffibcr7wd00abap0h2zh4s4p8snaiszsad5wq"))))
5ccde207
RW
754 (build-system perl-build-system)
755 (propagated-inputs
756 `(("perl-test-differences" ,perl-test-differences)
757 ("perl-test-warn" ,perl-test-warn)
758 ("perl-exception-class" ,perl-exception-class)
759 ("perl-test-deep" ,perl-test-deep)
760 ("perl-test-exception" ,perl-test-exception)))
761 (home-page "http://search.cpan.org/dist/Test-Most/")
762 (synopsis "Most commonly needed test functions and features")
763 (description "This module provides the most commonly used testing
764functions, along with automatically turning on strict and warning and gives a
765bit more fine-grained control over test suites.")
766 (license perl-license)))
767
768(define-public perl-test-needs
769 (package
770 (name "perl-test-needs")
771 (version "0.002005")
772 (source
773 (origin
774 (method url-fetch)
775 (uri (string-append
776 "mirror://cpan/authors/id/H/HA/HAARG/Test-Needs-"
777 version
778 ".tar.gz"))
779 (sha256
780 (base32
781 "16gkgpmr9hvkz382iaqd3500269lk2d44fqaw3dsrvc66nc36kss"))))
782 (build-system perl-build-system)
783 (home-page
784 "http://search.cpan.org/dist/Test-Needs/")
785 (synopsis
786 "Skip tests when modules not available")
787 (description "@code{Test::Needs} allows you to skip test scripts if
788modules are not available. The requested modules will be loaded, and
789optionally have their versions checked. If the module is missing, the test
790script will be skipped. Modules that are found but fail to compile will exit
791with an error rather than skip.
792
793If used in a subtest, the remainder of the subtest will be skipped.")
794 (license perl-license)))
795
796(define-public perl-test-notabs
797 (package
798 (name "perl-test-notabs")
799 (version "2.00")
800 (source
801 (origin
802 (method url-fetch)
803 (uri (string-append
804 "mirror://cpan/authors/id/E/ET/ETHER/Test-NoTabs-"
805 version
806 ".tar.gz"))
807 (sha256
808 (base32
809 "127kpl1va267qar2ia4c22xb96jby2jqnda3sj5pjgmxg8si26cg"))))
810 (build-system perl-build-system)
811 (home-page
812 "http://search.cpan.org/dist/Test-NoTabs/")
813 (synopsis
814 "Check the presence of tabs in your project")
815 (description
816 "@code{Test::NoTabs} lets you check the presence of tabs in your perl
817code.")
818 (license perl-license)))
819
820(define-public perl-test-nowarnings
821 (package
822 (name "perl-test-nowarnings")
823 (version "1.04")
824 (source (origin
825 (method url-fetch)
826 (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
827 "Test-NoWarnings-" version ".tar.gz"))
828 (sha256
829 (base32
830 "0v385ch0hzz9naqwdw2az3zdqi15gka76pmiwlgsy6diiijmg2k3"))))
831 (build-system perl-build-system)
832 (inputs `(("perl-test-tester" ,perl-test-tester)))
833 (synopsis "Ensure no warnings are produced while testing")
834 (description
835 "This modules causes any warnings during testing to be captured and
836stored. It automatically adds an extra test that will run when your script
837ends to check that there were no warnings. If there were any warnings, the
838test will fail and output diagnostics of where, when and what the warning was,
839including a stack trace of what was going on when it occurred.")
840 (home-page (string-append "http://search.cpan.org/~adamk//"
841 "Test-NoWarnings-" version))
842 (license lgpl2.1)))
843
844(define-public perl-test-number-delta
845 (package
846 (name "perl-test-number-delta")
847 (version "1.06")
848 (source (origin
849 (method url-fetch)
850 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
851 "Test-Number-Delta-" version ".tar.gz"))
852 (sha256
853 (base32
854 "0jfhzhpzkc23mkrlbnv085ykpfncmy99hvppbzjnrpvgks8k0m2k"))))
855 (build-system perl-build-system)
856 (home-page "http://search.cpan.org/dist/Test-Number-Delta/")
857 (synopsis
858 "Compare the difference between numbers against a given tolerance")
859 (description
860 "At some point or another, most programmers find they need to compare
861floating-point numbers for equality. The typical idiom is to test if the
862absolute value of the difference of the numbers is within a desired tolerance,
863usually called epsilon. This module provides such a function for use with
864@code{Test::More}.")
865 (license asl2.0)))
866
867(define-public perl-test-output
868 (package
869 (name "perl-test-output")
870 (version "1.03")
871 (source (origin
872 (method url-fetch)
873 (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/"
874 "Test-Output-" version ".tar.gz"))
875 (sha256
876 (base32
877 "12991jnzj4cbw9whhprmqvnzd1ayii84g2mh8vxbjngwqrjsy41i"))))
878 (build-system perl-build-system)
879 (propagated-inputs
880 `(("perl-capture-tiny" ,perl-capture-tiny)
881 ("perl-test-tester" ,perl-test-tester)
882 ("perl-sub-exporter" ,perl-sub-exporter)))
883 (synopsis "Utilities to test STDOUT and STDERR messages")
884 (description
885 "Test::Output provides a simple interface for testing output sent to
886STDOUT or STDERR. A number of different utilities are included to try and be
887as flexible as possible to the tester.")
888 (home-page (string-append "http://search.cpan.org/~bdfoy//"
889 "Test-Output-" version))
890 (license perl-license)))
891
892(define-public perl-test-pod
893 (package
894 (name "perl-test-pod")
9210fdf8 895 (version "1.51")
5ccde207
RW
896 (source
897 (origin
898 (method url-fetch)
9210fdf8 899 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
5ccde207
RW
900 "Test-Pod-" version ".tar.gz"))
901 (sha256
902 (base32
9210fdf8 903 "1yvy5mc4j3s2h4aizryvark2nm58g2c6zhw9mlx9wmsavz7d78f1"))))
5ccde207
RW
904 (build-system perl-build-system)
905 (native-inputs `(("perl-module-build" ,perl-module-build)))
906 (home-page "http://search.cpan.org/dist/Test-Pod/")
907 (synopsis "Check for POD errors in files")
908 (description "Check POD files for errors or warnings in a test file, using
909Pod::Simple to do the heavy lifting.")
910 (license perl-license)))
911
912(define-public perl-test-pod-coverage
913 (package
914 (name "perl-test-pod-coverage")
915 (version "1.10")
916 (source
917 (origin
918 (method url-fetch)
919 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
920 "Test-Pod-Coverage-" version ".tar.gz"))
921 (sha256
922 (base32
923 "1m203mhgfilz7iqc8mxaw4lw02fz391mni3n25sfx7nryylwrja8"))))
924 (build-system perl-build-system)
925 (propagated-inputs
926 `(("perl-pod-coverage" ,perl-pod-coverage)))
927 (home-page "http://search.cpan.org/dist/Test-Pod-Coverage/")
928 (synopsis "Check for pod coverage")
929 (description "This module adds a test to your Perl distribution which
930checks for pod coverage of all appropriate files.")
931 (license artistic2.0)))
932
933(define-public perl-test-requires
934 (package
935 (name "perl-test-requires")
1d1f1b3a 936 (version "0.10")
5ccde207
RW
937 (source
938 (origin
939 (method url-fetch)
940 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
941 "Test-Requires-" version ".tar.gz"))
942 (sha256
943 (base32
1d1f1b3a 944 "1d9f481lj12cw1ciil46xq9nq16p6a90nm7yrsalpf8asn8s6s17"))))
5ccde207
RW
945 (build-system perl-build-system)
946 (home-page "http://search.cpan.org/dist/Test-Requires/")
947 (synopsis "Checks to see if the module can be loaded")
948 (description "Test::Requires checks to see if the module can be loaded.
949If this fails, then rather than failing tests this skips all tests.")
950 (license perl-license)))
951
fa79a908
TGR
952(define-public perl-test-requiresinternet
953 (package
954 (name "perl-test-requiresinternet")
955 (version "0.05")
956 (source
957 (origin
958 (method url-fetch)
959 (uri (string-append
960 "mirror://cpan/authors/id/M/MA/MALLEN/Test-RequiresInternet-"
961 version
962 ".tar.gz"))
963 (sha256
964 (base32
965 "0gl33vpj9bb78pzyijp884b66sbw6jkh1ci0xki8rmf03hmb79xv"))))
966 (build-system perl-build-system)
967 (home-page "http://search.cpan.org/dist/Test-RequiresInternet/")
968 (synopsis "Easily test network connectivity when running tests")
969 (description
970 "This Perl module is intended to easily test network connectivity to
971non-local Internet resources before functional tests begin. If the sockets
972cannot connect to the specified hosts and ports, the exception is caught and
973reported, and the tests skipped.")
974 (license perl-license)))
975
24eab3c0
OP
976(define-public perl-test-roo
977 (package
978 (name "perl-test-roo")
979 (version "1.004")
980 (source
981 (origin
982 (method url-fetch)
983 (uri (string-append
984 "mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-Roo-"
985 version ".tar.gz"))
986 (sha256
987 (base32
988 "1mnym49j1lj7gzylma5b6nr4vp75rmgz2v71904v01xmxhy9l4i1"))))
989 (build-system perl-build-system)
990 (native-inputs
991 `(("perl-capture-tiny" ,perl-capture-tiny)))
992 (propagated-inputs
993 `(("perl-indirect" ,perl-indirect)
994 ("perl-moo" ,perl-moo)
995 ("perl-moox-types-mooselike" ,perl-moox-types-mooselike)
996 ("perl-multidimensional" ,perl-multidimensional)
997 ("perl-strictures" ,perl-strictures)
998 ("perl-sub-install" ,perl-sub-install)))
999 (home-page "http://search.cpan.org/dist/Test-Roo/")
1000 (synopsis "Composable, reusable tests with roles and Moo")
1001 (description "Test::Roo provides composable, reusable tests with roles.")
1002 (license asl2.0)))
1003
5ccde207
RW
1004(define-public perl-test-script
1005 (package
1006 (name "perl-test-script")
1007 (version "1.20")
1008 (source (origin
1009 (method url-fetch)
1010 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
1011 "Test-Script-" version ".tar.gz"))
1012 (sha256
1013 (base32
1014 "1msavbi6przkxq3npm90nv925v58iym9jrk677wn46x19whwzwzm"))))
1015 (build-system perl-build-system)
1016 (propagated-inputs
1017 `(("perl-capture-tiny" ,perl-capture-tiny)
1018 ("perl-probe-perl" ,perl-probe-perl)))
1019 (synopsis "Basic cross-platform tests for scripts")
1020 (description
1021 "The intent of the Test::Script module is to provide a series of basic
1022tests for 80% of the testing you will need to do for scripts in the script (or
1023bin as is also commonly used) paths of your Perl distribution.")
1024 (home-page "http://search.cpan.org/dist/Test-Script/")
1025 (license perl-license)))
1026
1027(define-public perl-test-sharedfork
1028 (package
1029 (name "perl-test-sharedfork")
1030 (version "0.29")
1031 (source
1032 (origin
1033 (method url-fetch)
1034 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1035 "Test-SharedFork-" version ".tar.gz"))
1036 (sha256
1037 (base32
1038 "0vlak10q4gcf0ch0rfcb9lvddav6r8h15iipzbkbgf9mrj47gbv3"))))
1039 (build-system perl-build-system)
1040 (native-inputs
1041 `(("perl-test-requires" ,perl-test-requires)))
1042 (home-page "http://search.cpan.org/dist/Test-SharedFork/")
1043 (synopsis "Fork test in Perl")
1044 (description "Test::SharedFork is a utility module for Test::Builder. It
1045makes fork(2) safe to use in test cases.")
1046 (license perl-license)))
1047
1048(define-public perl-test-simple
1049 (package
1050 (name "perl-test-simple")
1ffa065c 1051 (version "1.302122")
5ccde207
RW
1052 (source (origin
1053 (method url-fetch)
1054 (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/"
1055 "Test-Simple-" version ".tar.gz"))
1056 (sha256
1057 (base32
1ffa065c 1058 "117m707cbvrh01s3w6g371i9xvpnklifiqpcmky4f49jgck8izgm"))))
5ccde207
RW
1059 (build-system perl-build-system)
1060 (synopsis "Basic utilities for writing tests")
1061 (description
1062 "Test::Simple contains basic utilities for writing tests.")
1063 (home-page (string-append "http://search.cpan.org/~exodist//"
1064 "Test-Simple-" version))
1065 (license perl-license)))
1066
1067(define-public perl-test-taint
1068 (package
1069 (name "perl-test-taint")
1070 (version "1.06")
1071 (source
1072 (origin
1073 (method url-fetch)
1074 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Taint-"
1075 version ".tar.gz"))
1076 (sha256
1077 (base32
1078 "01rip5d7gdr1c7lq6yczzkqfd0500nfa977ryigylj6jj75526vj"))))
1079 (build-system perl-build-system)
1080 (home-page "http://search.cpan.org/dist/Test-Taint/")
1081 (synopsis "Checks for taintedness of variables")
1082 (description "Tainted data is data that comes from an unsafe source, such
1083as the command line, or, in the case of web apps, any @code{GET} or
1084@code{POST} transactions. Read the @code{perlsec} man page for details on why
1085tainted data is bad, and how to untaint the data.
1086
1087When you're writing unit tests for code that deals with tainted data, you'll
1088want to have a way to provide tainted data for your routines to handle, and
1089easy ways to check and report on the taintedness of your data, in standard
1090@code{Test::More} style.")
1091 (license perl-license)))
1092
1093(define-public perl-test-tester
1094 (package
1095 (name "perl-test-tester")
1096 (version "0.109")
1097 (source (origin
1098 (method url-fetch)
1099 (uri (string-append "mirror://cpan/authors/id/F/FD/FDALY/"
1100 "Test-Tester-" version ".tar.gz"))
1101 (sha256
1102 (base32
1103 "0m9n28z09kq455r5nydj1bnr85lvmbfpcbjdkjfbpmfb5xgciiyk"))))
1104 (build-system perl-build-system)
1105 (synopsis "Simplify running Test::Builder tests")
1106 (description
1107 "Test::Tester allows testing of test modules based on Test::Builder with
1108a minimum of effort.")
1109 (home-page (string-append "http://search.cpan.org/~fdaly//"
1110 "Test-Tester-" version))
1111 ;; "Under the same license as Perl itself"
1112 (license perl-license)))
1113
1114(define-public perl-test-trap
1115 (package
1116 (name "perl-test-trap")
2c438e56 1117 (version "0.3.3")
5ccde207
RW
1118 (source
1119 (origin
1120 (method url-fetch)
1121 (uri (string-append "mirror://cpan/authors/id/E/EB/EBHANSSEN/"
1122 "Test-Trap-v" version ".tar.gz"))
1123 (sha256
1124 (base32
2c438e56 1125 "1676gqjyk0zig3yyqv053y5j1pajp2af08ffmgx94n414whbhm5c"))))
5ccde207
RW
1126 (build-system perl-build-system)
1127 (native-inputs
1128 `(("perl-module-build" ,perl-module-build)
1129 ("perl-test-simple" ,perl-test-simple)))
1130 (propagated-inputs
1131 `(("perl-test-tester" ,perl-test-tester)
1132 ("perl-data-dump" ,perl-data-dump)))
1133 (home-page "http://search.cpan.org/dist/Test-Trap/")
1134 (synopsis "Trap exit codes, exceptions, output, and so on")
1135 (description "This module is primarily (but not exclusively) for use in
1136test scripts: A block eval configurable and extensible but by default trapping
1137STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values
1138from boxed blocks of test code.")
1139 (license perl-license)))
1140
1141(define-public perl-test-utf8
1142 (package
1143 (name "perl-test-utf8")
1144 (version "1.01")
1145 (source
1146 (origin
1147 (method url-fetch)
1148 (uri (string-append "mirror://cpan/authors/id/M/MA/MARKF/"
1149 "Test-utf8-" version ".tar.gz"))
1150 (sha256
1151 (base32
1152 "0yhvf735v334qqvp9zg7i66qyk6r4cbk5s2psv93d3fdd4bindzg"))))
1153 (build-system perl-build-system)
1154 (native-inputs
1155 `(("perl-module-install" ,perl-module-install)))
1156 (home-page "http://search.cpan.org/dist/Test-utf8/")
1157 (synopsis "UTF-8 testing in Perl")
1158 (description "This module is a collection of tests useful for dealing with
1159UTF-8 strings in Perl. This module has two types of tests: The validity tests
1160check if a string is valid and not corrupt, whereas the characteristics tests
1161will check that string has a given set of characteristics.")
1162 (license perl-license)))
1163
1164(define-public perl-test-warn
1165 (package
1166 (name "perl-test-warn")
1167 (version "0.30")
1168 (source
1169 (origin
1170 (method url-fetch)
1171 (uri (string-append "mirror://cpan/authors/id/C/CH/CHORNY/"
1172 "Test-Warn-" version ".tar.gz"))
1173 (sha256
1174 (base32
1175 "0haf2ii7br5z0psmkvlvmx2z2q9qz1c70gx0969r378qjidmb5w1"))))
1176 (build-system perl-build-system)
1177 (propagated-inputs
1178 `(("perl-sub-uplevel" ,perl-sub-uplevel)))
1179 (home-page "http://search.cpan.org/dist/Test-Warn/")
1180 (synopsis "Perl extension to test methods for warnings")
1181 (description "This module provides a few convenience methods for testing
1182warning based code.")
1183 (license perl-license)))
1184
1185(define-public perl-test-warnings
1186 (package
1187 (name "perl-test-warnings")
1188 (version "0.026")
1189 (source
1190 (origin
1191 (method url-fetch)
1192 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1193 "Test-Warnings-" version ".tar.gz"))
1194 (sha256
1195 (base32
1196 "024srkwjckp15dxkni9lb1hc8bg4xwc52zz0iich8rv1nnqnhaxf"))))
1197 (build-system perl-build-system)
1198 (home-page "http://search.cpan.org/dist/Test-Warnings/")
1199 (synopsis "Test for warnings and the lack of them")
1200 (description "This module is intended to be used as a drop-in replacement
1201for Test::NoWarnings. It also adds an extra test, but runs this test before
1202done_testing calculates the test count, rather than after. It does this by
1203hooking into done_testing as well as via an END block. You can declare a
1204plan, or not, and things will still Just Work.")
1205 (license perl-license)))
1206
1207(define-public perl-test-without-module
1208 (package
1209 (name "perl-test-without-module")
1210 (version "0.18")
1211 (source
1212 (origin
1213 (method url-fetch)
1214 (uri (string-append "mirror://cpan/authors/id/C/CO/CORION/"
1215 "Test-Without-Module-" version ".tar.gz"))
1216 (sha256
1217 (base32
1218 "0zwc2dk5srd02j4p049w77m89iw5nbff381rmhcbaz8x2w5kdhz2"))))
1219 (build-system perl-build-system)
1220 (home-page "http://search.cpan.org/dist/Test-Without-Module/")
1221 (synopsis "Test fallback behaviour in absence of modules")
1222 (description "This module allows you to deliberately hide modules from a
1223program even though they are installed. This is mostly useful for testing
1224modules that have a fallback when a certain dependency module is not
1225installed.")
1226 (license perl-license)))
1227
1228(define-public perl-test-writevariants
1229 (package
1230 (name "perl-test-writevariants")
1231 (version "0.010")
1232 (source
1233 (origin
1234 (method url-fetch)
1235 (uri (string-append "mirror://cpan/authors/id/R/RE/REHSACK/"
1236 "Test-WriteVariants-" version ".tar.gz"))
1237 (sha256
1238 (base32
1239 "0kklp05fj98yiq8znyfx9lx1vmjay2ypfb868qdwv3kf93m5zjwr"))))
1240 (build-system perl-build-system)
1241 (native-inputs
1242 `(("perl-test-most" ,perl-test-most)
1243 ("perl-test-directory" ,perl-test-directory)))
1244 (propagated-inputs
1245 `(("perl-data-tumbler" ,perl-data-tumbler)
1246 ("perl-file-homedir" ,perl-file-homedir)
1247 ("perl-module-pluggable" ,perl-module-pluggable)))
1248 (home-page "http://search.cpan.org/dist/Test-WriteVariants/")
1249 (synopsis "Dynamic generation of tests")
1250 (description "The Test::WriteVariants module provides for the dynamic
1251generation of tests in nested combinations of contexts.")
1252 (license perl-license))) ;See LICENSE
1253
1254(define-public perl-test-yaml
1255 (package
1256 (name "perl-test-yaml")
67c939d9 1257 (version "1.06")
5ccde207
RW
1258 (source
1259 (origin
1260 (method url-fetch)
1261 (uri (string-append "mirror://cpan/authors/id/I/IN/INGY/"
1262 "Test-YAML-" version ".tar.gz"))
1263 (sha256
1264 (base32
67c939d9 1265 "0hxrfs7p9hqkhvv5nhk2hd3kh32smwng4nz47b8xf4iw2q1n2dr7"))))
5ccde207
RW
1266 (build-system perl-build-system)
1267 (propagated-inputs
1268 `(("perl-test-base" ,perl-test-base)))
1269 (home-page "http://search.cpan.org/dist/Test-YAML/")
1270 (synopsis "Testing module for YAML implementations")
1271 (description "Test::YAML is a subclass of Test::Base with YAML specific
1272support.")
1273 (license perl-license)))
1274
1275(define-public perl-test-trailingspace
1276 (package
1277 (name "perl-test-trailingspace")
b11407d9 1278 (version "0.0301")
5ccde207
RW
1279 (source
1280 (origin
1281 (method url-fetch)
1282 (uri (string-append
1283 "mirror://cpan/authors/id/S/SH/SHLOMIF/Test-TrailingSpace-"
1284 version
1285 ".tar.gz"))
1286 (sha256
1287 (base32
b11407d9 1288 "0w2rvsksv7cmf80v632xm2rwxrv933kzz97839yhwynvg9s7b252"))))
5ccde207
RW
1289 (build-system perl-build-system)
1290 (native-inputs
1291 `(("perl-module-build" ,perl-module-build)
1292 ("perl-file-find-object" ,perl-file-find-object)
1293 ("perl-class-xsaccessor" ,perl-class-xsaccessor)))
1294 (inputs
1295 `(("perl-file-find-object-rule" ,perl-file-find-object-rule)
1296 ("perl-text-glob" ,perl-text-glob)
1297 ("perl-number-compare" ,perl-number-compare)))
1298 (home-page
1299 "http://search.cpan.org/dist/Test-TrailingSpace/")
1300 (synopsis
1301 "Test for trailing space in Perl source files")
1302 (description "Test::TrailingSpace tests for trailing spaces
1303in Perl source files.")
1304 (license x11)))