Mock package, object and standard subroutines, with unit testing in mind
Easy to use and very lightweight module for mocking out sub calls. Very 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.
$
pkg install p5-Mock-SubOrigin
devel/p5-Mock-Sub
Size
30.6KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
1 packages
Required by
0 packages