OpenBSD ports

The devel/p5-Mock-Sub port

p5-Mock-Sub-1.09 – mock package, object and standard subroutines, with unit

Description

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.

WWW: https://metacpan.org/release/Mock-Sub
Categories:
devel perl5

Library dependencies

Build dependencies

Run dependencies