Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Test-MockModule-0.177.0-1.12 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: perl-Test-MockModule Distribution: openSUSE:Factory:zSystems
Version: 0.177.0 Vendor: openSUSE
Release: 1.12 Build date: Wed Sep 8 05:06:22 2021
Group: Unspecified Build host: reproducible
Size: 44768 Source RPM: perl-Test-MockModule-0.177.0-1.12.src.rpm
Packager: https://bugs.opensuse.org
Url: https://metacpan.org/release/Test-MockModule
Summary: Override subroutines in a module for unit testing
'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.

Provides

Requires

License

Artistic-1.0 OR GPL-1.0-or-later

Changelog

* Wed Sep 08 2021 Tina Müller <timueller+perl@suse.de>
  - updated to 0.177.0
    see /usr/share/doc/packages/perl-Test-MockModule/Changes
    v0.177.0
    - 35f0d0b Update changelog - Geoff Franks
    - 1d5b485 Move test modules from build to test requires - Olaf Alders
    - 78afe10 Clean up changelog - Geoff Franks
    v0.277.0
    - Move test modules from build to test requires - Olaf Alders
* Wed Jan 06 2021 Tina Müller <timueller+perl@suse.de>
  - updated to 0.176.0
    see /usr/share/doc/packages/perl-Test-MockModule/Changes
    v0.176.0
    - 3ba8bc7 lexically scoped strictness - David Cantrell
    - e57fc5a Update ci with dockerhub auth - Geoff Franks
    - bfe1e63 Update GitHub workflow with deprecated add-path - Nicolas R
    vX.XXX.X
    - XXXXXXX 'strict' mode is now lexically scoped
* Fri Sep 18 2020 Tina Müller <timueller+perl@suse.de>
  - updated to 0.175.0
    see /usr/share/doc/packages/perl-Test-MockModule/Changes
    v0.175.0
    - 964aa2a Ignore CI files and whitesource - Nicolas R
* Tue Sep 15 2020 Tina Müller <timueller+perl@suse.de>
  - updated to 0.174.0
    see /usr/share/doc/packages/perl-Test-MockModule/Changes
    v0.174.0
    - cf65e7c Fix typo in pod - nima
* Sat Jun 13 2020 Tina Müller <timueller+perl@suse.de>
  - updated to 0.173.0
    see /usr/share/doc/packages/perl-Test-MockModule/Changes
    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]
* Thu Feb 20 2020 <timueller+perl@suse.de>
  - updated to 0.172.0
    see /usr/share/doc/packages/perl-Test-MockModule/Changes
    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
* Mon Oct 21 2019 <timueller+perl@suse.de>
  - updated to 0.171.0
    see /usr/share/doc/packages/perl-Test-MockModule/Changes
    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
    v0.171.0
    - allow chaining of new with mock, redefine, define
    - redefine() no longer triggers errors if the object being mocked is not a hashref
    - Adds a define() method for mocking new functions that do not exist. Throws an
      error if a function does exist.
    - Adds `strict` mode to prevent usage of noop() and mock() functions, and force
      the usage of define/redefine if desired.:
      ```
      use Test::MockModule qw/strict/;
      ```
    - Mocking CORE::GLOBAL no longer throws errors indicating CORE::GLOBAL should have
      been installed/loaded
* Thu Sep 20 2018 Stephan Kulow <coolo@suse.com>
  - updated to 0.170.0
    see /usr/share/doc/packages/perl-Test-MockModule/Changes
    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!
* Sat May 19 2018 coolo@suse.com
  - updated to 0.15
    see /usr/share/doc/packages/perl-Test-MockModule/Changes
    v0.15
    - Fixes a minor bug in the release tarball
* Sun May 06 2018 coolo@suse.com
  - updated to 0.14
    see /usr/share/doc/packages/perl-Test-MockModule/Changes
    v0.14
    - Fixes a bug where the `redefine()` function was dying when attempting to
      mock a function that was defined further up a module's inheritance chain.
      It now only dies when the mocked function does not exist in the module being
      mocked, or any of its parent modules. Thanks @atoomic for the improvement!

Files

/usr/lib/perl5/vendor_perl/5.38.2/Test
/usr/lib/perl5/vendor_perl/5.38.2/Test/MockModule.pm
/usr/share/doc/packages/perl-Test-MockModule
/usr/share/doc/packages/perl-Test-MockModule/Changes
/usr/share/doc/packages/perl-Test-MockModule/README.md
/usr/share/licenses/perl-Test-MockModule
/usr/share/licenses/perl-Test-MockModule/LICENSE
/usr/share/man/man3/Test::MockModule.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Thu May 2 23:22:08 2024