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

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.175.0, Package name: p5-Test-MockModule-0.175.0, 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)

SHA1: db4e8862a560c10501e43c75e53e5b0e243bc0f3
RMD160: 31ebfced910de093429d1ab8a22a5dff13cb3412
Filesize: 21.4 KB

Version history: (Expand)


CVS history: (Expand)


   2020-09-20 09:39:05 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Test-MockModule: update to 0.175.0.

Fix dependency on p5-SUPER.

v0.175.0
- 964aa2a Ignore CI files and whitesource - Nicolas R

v0.174.0
- cf65e7c Fix typo in pod - nima
   2020-09-07 12:13:21 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Test-MockModule: update to 0.173.0.

v0.173.0
- 4dacd82 Add warning when 'unmock' called without arguments - Matthew Hughes
- b20dc7c import warns when using unknown argument - Nicolas R
- 3b217ba Fix windows CI by installing SUPER - Nicolas R
- 0ef70c5 Add .whitesource configuration file - whitesource-bolt-for-github[bot]
   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631) | Package updated
Log message:
*: bump PKGREVISION for perl-5.32.
   2020-04-18 13:14:01 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(devel/p5-Test-MockModule) Updated to 0.172.0

v0.172.0
- 7558aa9 Make sure we can redefine a function in 'main' - Nicolas R
- 0538fe1 Plug GitHub workflow as additional CI - Nicolas R
- 0e9d90b update parallel to use in_parallel instead ofaggregate - Geoff Franks
   2019-10-28 14:01:46 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(devel/p5-Test-MockModule) Updated 0.170.0 to 0.171.0

v0.171.0
- 89dc5c0 Fixes #25 - mocking core::global no longer fails trying to load the \ 
module - Geoff Franks
- 9bb081a update ci for fewer infinite loops - Geoff Franks
- 289d014 Update release notes for all the newly merged PRs - Geoff Franks
- fef9e74 Allow chaining of new with mock, redefine, define - Nicolas Rochelemagne
- e136131 Prevent redefine() from triggering DESTROY. - Felipe Gasper
- 311f6b4 Adjust Travis CI configuration to use travis-perl.github.io - Nicolas \ 
Rochelemagne
- 2bed3e2 Add strict mode to ban the use of noop and mock. - Todd Rinaldo
- 0298d8d Provide define method so the mock method is unneeded in tests. - Todd \ 
Rinaldo
   2019-08-11 15:25:21 by Thomas Klausner | Files touched by this commit (3557) | Package updated
Log message:
Bump PKGREVISIONs for perl 5.30.0
   2019-06-30 22:17:50 by Nia Alarie | Files touched by this commit (1816) | Package updated
Log message:
Update packages using a search.cpan.org HOMEPAGE to metacpan.org.

The former now redirects to the latter.

This covers the most simple cases where http://search.cpan.org/dist/name
can be changed to https://metacpan.org/release/name.

Reviewed by hand to hopefully make sure no unwanted changes sneak in.
   2018-09-02 09:25:37 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Test-MockModule: update to 0.170.0.

v0.170.0
- 182d066 Fix versioning for semver conversion + PAUSE - Geoff Franks
- 4afeedf release v0.17.0 - CI Bot
- 9df8ac4 Add CI pipeline for releasing to cpan - Geoff Franks
- 577350e Pod - provide a code snippet for original usage - Nicolas R
- 3e4ec72 Add missing pod entries - Geoff Franks

v0.16
    - Fixes an issue where warnings were thrown for mismatched prototypes,
      when mocking a prototyped function.

      Thanks @toddr for the fix!