libmock-sub-perl

module to mock subroutines for unit testing

Description

Mock::Sub is an easy to use and very lightweight module for mocking out sub calls. It is useful for testing areas of your own modules where getting coverage may be difficult due to nothing to test against, and/or to reduce test run time by eliminating the need to call subs that you really don't want or need to test.

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/Mock-Sub


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 libmock-sub-perl