./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-2017Q3, Version: 0.12, Package name: p5-Test-MockModule-0.12, 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: fa09071263a126e3cce2863e94fa8bce8c73f73a
RMD160: 1b29369c9272b3e123fe34fea835bd3fbf13299c
Filesize: 23.576 KB

Version history: (Expand)