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