Path to this page:
./
devel/p5-Test-MockModule,
Perl 5 module to override subroutines in a module for unit testing
Branch: pkgsrc-2018Q2,
Version: 0.15,
Package name: p5-Test-MockModule-0.15,
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 build:[
devel/p5-Test-Pod-Coverage] [
devel/p5-SUPER]
Master sites: (Expand)
SHA1: 9dc915dbb08148c634fbafbce033af376e33978c
RMD160: fcf2467d783a2d40fe7cc35c352cd445e81ed5c4
Filesize: 18.039 KB
Version history: (Expand)
- (2018-07-03) Package added to pkgsrc.se, version p5-Test-MockModule-0.15 (created)