./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-2018Q1, Version: 0.13, Package name: p5-Test-MockModule-0.13, 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-Test-Pod-Coverage]

Master sites: (Expand)

SHA1: ca5537d8e225df312d01e3201fce8025c25e575d
RMD160: 4401fd6872bf5dc393738da3de59873881ded831
Filesize: 23.985 KB

Version history: (Expand)