./devel/p5-Test-MockModule, Perl 5 module to override subroutines in a module for unit testing

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ]


Branch: CURRENT, Version: 0.180.0nb1, Package name: p5-Test-MockModule-0.180.0nb1, 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] [pkgtools/cwrappers]

Master sites: (Expand)

Filesize: 24.156 KB

Version history: (Expand)


CVS history: (Expand)


   2026-07-16 21:06:25 by Thomas Klausner | Files touched by this commit (2542)
Log message:
*: recursive bump for perl5 5.44.0
   2025-11-15 04:42:19 by Wen Heping | Files touched by this commit (2)
Log message:
Update to 0.180.0

Upstream changes:
0.180.0
Remove Software::License from runtime dependencies by @bbrtj in #68
   2025-07-04 10:49:39 by Thomas Klausner | Files touched by this commit (2519)
Log message:
*: bump for perl 5.42.0
   2024-12-25 02:40:15 by Wen Heping | Files touched by this commit (2)
Log message:
Update to 0.179.0

Upstream changes:
v0.179.0
- 82881df - Bump Module::Build requirement by @atoomic in #65
   2024-11-16 13:08:07 by Thomas Klausner | Files touched by this commit (2504)
Log message:
*: recursive bump for perl 5.40
   2024-06-02 04:10:36 by Wen Heping | Files touched by this commit (2)
Log message:
Update to 0.178.0

Upstream changes:
v0.178.0
- 6724a30 - Simplify CI workflow - Nicolas R
- 1801372 - Multiple improvements -  Nicolas R
- e97e316 - Add protection to _replace_sub - Nicolas R
   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36