Path to this page:
./
devel/p5-Test-MockModule,
Perl 5 module to override subroutines in a module for unit testing
Branch: pkgsrc-2015Q4,
Version: 0.10,
Package name: p5-Test-MockModule-0.10,
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]
Required to build:[
devel/p5-Module-Build] [
devel/p5-Test-Pod] [
devel/p5-SUPER]
Master sites: (Expand)
SHA1: b1ab6b3805a28bad9960295497880c5f723f8bd6
RMD160: 5785001c8127bafd7d58a077521a3bd7a20b52f3
Filesize: 23.168 KB
Version history: (Expand)
- (2016-01-02) Package added to pkgsrc.se, version p5-Test-MockModule-0.10 (created)