Guix will hold its first online conference November 22nd. Propose a talk before November 6th. Learn more!

perl-test-needs 0.002005 Skip tests when modules not available

Test::Needs allows you 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 remainder of the subtest will be skipped.