Path to this page:
./
devel/p5-Test-MockModule,
Perl 5 module to override subroutines in a module for unit testing
Branch: pkgsrc-2014Q2,
Version: 0.05nb6,
Package name: p5-Test-MockModule-0.05nb6,
Maintainer: pkgsrc-usersThe 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.
Required to run:[
lang/perl5]
Master sites: (Expand)
SHA1: d76b6c09caa81cba0b9b37aef0b9fb7bb0998801
RMD160: 08f112d1e7a143207767b27d13189e3e78c5db6d
Filesize: 5.477 KB
Version history: (Expand)
- (2014-07-11) Updated to version: p5-Test-MockModule-0.05nb6
- (2014-07-02) Package added to pkgsrc.se, version p5-Test-MockModule-0.05nb5 (created)