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