./devel/p5-Test-MockModule, Perl 5 module to override subroutines in a module for unit testing

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2021Q3, Version: 0.176.0, Package name: p5-Test-MockModule-0.176.0, Maintainer: pkgsrc-users

The Perl 5 module Test::MockModule lets you temporarily redefine
subroutines in other packages for the purposes of unit testing.
A Test::MockModule object is set up to mock subroutines for a given
module. The object remembers the original subroutine so it can be
easily restored. This happens automatically when all MockModule
objects for the given module go out of scope, or when you unmock()
the subroutine.


Master sites: (Expand)

SHA1: 82f5bf371d4413c68c90bc25da43e3f243eff64d
RMD160: 3f132a766121b7655a821c7a287e8cffc15a4386
Filesize: 23.288 KB

Version history: (Expand)