./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-2016Q1, Version: 0.10, Package name: p5-Test-MockModule-0.10, 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.


Required to run:
[lang/perl5]

Required to build:
[devel/p5-Module-Build]

Master sites: (Expand)

SHA1: b1ab6b3805a28bad9960295497880c5f723f8bd6
RMD160: 5785001c8127bafd7d58a077521a3bd7a20b52f3
Filesize: 23.168 KB

Version history: (Expand)