Path to this page:
./
devel/p5-Test-MockModule,
Perl 5 module to override subroutines in a module for unit testing
Branch: pkgsrc-2019Q4,
Version: 0.171.0,
Package name: p5-Test-MockModule-0.171.0,
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:[
pkgtools/cwrappers]
Master sites: (Expand)
SHA1: 9208ccb864dad19da805b45dd9b6247fa3d619e2
RMD160: 10acf437354c548cf74eeeeb069f292907c5f66b
Filesize: 26.498 KB
Version history: (Expand)
- (2020-01-02) Package added to pkgsrc.se, version p5-Test-MockModule-0.171.0 (created)