Path to this page:
./
devel/p5-Test-MockModule,
Perl 5 module to override subroutines in a module for unit testing
Branch: CURRENT,
Version: 0.178.0,
Package name: p5-Test-MockModule-0.178.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 run:[
lang/perl5]
Required to build:[
devel/p5-Module-Build] [
pkgtools/cwrappers]
Master sites: (Expand)
Filesize: 23.546 KB
Version history: (Expand)
- (2024-06-02) Updated to version: p5-Test-MockModule-0.178.0
- (2023-07-06) Updated to version: p5-Test-MockModule-0.177.0nb2
- (2022-06-28) Updated to version: p5-Test-MockModule-0.177.0nb1
- (2021-10-12) Updated to version: p5-Test-MockModule-0.177.0
- (2021-07-04) Updated to version: p5-Test-MockModule-0.176.0
- (2021-05-25) Updated to version: p5-Test-MockModule-0.175.0nb1
CVS history: (Expand)