perl-check.scm 58 KB

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