libtest-needs-perl

module to skip tests when modules are not available

Description

Test::Needs allows one to skip test scripts if modules are not available. The requested modules will be loaded, and optionally have their versions checked. If the module is missing, the test script will be skipped. Modules that are found but fail to compile will exit with an error rather than skip.

If used in a subtest, the rest of the subtest will be skipped.

If the "RELEASE_TESTING" environment variable is set, the tests will fail rather than skip. Subtests will be aborted, but the test script will continue running after that point.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Test-Needs


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libtest-needs-perl