Path to this page:
./
devel/p5-Test-MockModule,
Perl 5 module to override subroutines in a module for unit testing
Branch: pkgsrc-2016Q2,
Version: 0.11nb1,
Package name: p5-Test-MockModule-0.11nb1,
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.
Master sites: (Expand)
SHA1: a6d6dca16483a9e6fd57838e36ba94fa2e5b26e4
RMD160: f261537e713f4bebecce643f8958fdf81c8eeb56
Filesize: 23.199 KB
Version history: (Expand)
- (2016-07-07) Package has been reborn
- (2016-07-06) Package added to pkgsrc.se, version p5-Test-MockModule-0.11nb1 (created)