{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"Skip tests when modules not available","compare":"/compare/p5-test-needs/index.json","dependentCount":null,"description":"Skip test scripts if modules are not available. The requested modules will be\nloaded, and optionally have their versions checked. If the module is missing,\nthe test script will be skipped. Modules that are found but fail to compile will\nexit with an error rather than skip.\n\nIf used in a subtest, the remainder of the subtest will be skipped.\n\nSkipping will work even if some tests have already been run, or if a plan has\nbeen declared.\n\nVersions are checked via a $module-\u003eVERSION($wanted_version) call. Versions must\nbe provided in a format that will be accepted. No extra processing is done on\nthem.\n\nIf perl is used as a module, the version is checked against the running perl\nversion ($]). The version can be specified as a number, dotted-decimal string,\nv-string, or version object.\n\nIf the RELEASE_TESTING environment variable is set, the tests will fail rather\nthan skip. Subtests will be aborted, but the test script will continue running\nafter that point.","flavors":[],"html":"https://daemonports.org/midnightbsd/devel/p5-Test-Needs/","kind":"port","lastUpdate":null,"license":["artistic","gpl+"],"maintainer":"ports@MidnightBSD.org","name":"p5-Test-Needs","newest":true,"newestVersion":"0.002010","noVulnData":true,"origin":"devel/p5-Test-Needs","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/p5-Test-Needs","path":"/devel/p5-Test-Needs/","system":"FreeBSD","version":"0.002010"},{"maintainer":"Alexander Bluhm \u003cbluhm@openbsd.org\u003e","newest":true,"noVulnData":true,"origin":"devel/p5-Test-Needs","path":"/openbsd/devel/p5-Test-Needs/","system":"OpenBSD","version":"0.002010"},{"maintainer":"wen@NetBSD.org","newest":true,"origin":"devel/p5-Test-Needs","path":"/netbsd/devel/p5-Test-Needs/","system":"NetBSD","updated":"2026-07-16","version":"0.002010nb4"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/p5-Test-Needs","path":"/dragonfly/devel/p5-Test-Needs/","system":"DragonFly","version":"0.002010"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Test-Needs","path":"","system":"HardenedBSD","version":"0.002010"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Test-Needs","path":"","system":"GhostBSD","version":"0.002010"}],"packages":null,"pkgName":"p5-Test-Needs-0.002010","related":null,"repository":"mports","requiredBy":[],"requiredByCount":0,"runDepends":[],"status":null,"system":"midnightbsd","systemLabel":"MidnightBSD","version":"0.002010","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/Test-Needs"}
