| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: perl-Test-MockModule | Distribution: Fedora Project |
| Version: 0.185.0 | Vendor: Fedora Project |
| Release: 1.fc45 | Build date: Thu May 7 17:03:30 2026 |
| Group: Unspecified | Build host: buildvm-x86-08.rdu3.fedoraproject.org |
| Size: 73561 | Source RPM: perl-Test-MockModule-0.185.0-1.fc45.src.rpm |
| Packager: Fedora Project | |
| 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 easily be restored. This happens automatically when all MockModule objects for the given module go out of scope, or when you unmock() the subroutine.
GPL-1.0-or-later OR Artistic-1.0-Perl
* Thu May 07 2026 Paul Howarth <paul@city-fan.org> - 0.185.0-1
- Update to 0.185.0
- Revert to pre-v0.181.0 behavior: new() returns singleton-per-package by
default again; pass distinct => 1 for v0.181's fresh-object-per-call
behavior (GH#83)
- New: Test::MockModule->original_for($pkg, $sub): Call the original sub from
inside a mock closure without capturing $mock
* Wed May 06 2026 Paul Howarth <paul@city-fan.org> - 0.184.0-1
- Update to 0.184.0
- Fix: Restore noop() to return 1 for backward compatibility (GH#80)
* Sun May 03 2026 Paul Howarth <paul@city-fan.org> - 0.183.0-1
- Update to 0.183.0
- Drop unused weaken import
- Fix: new() returns distinct objects per package (GH#48)
- Fix: Correct stacking edge cases in mock-layer restore (follow-up to GH#48)
- Refactor: integrate stacking with Moose/Mouse meta layer and re-mock
corners (follow-up to GH#77)
* Fri May 01 2026 Paul Howarth <paul@city-fan.org> - 0.182.0-1
- Update to 0.182.0
- See https://github.com/geofffranks/test-mockmodule/releases for details
- Highlight: Moose and Mouse meta-class aware mocking (GH#55)
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.180.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.180.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jul 03 2025 Paul Howarth <paul@city-fan.org> - 0.180.0-1
- Update to 0.180.0
- Remove Software::License from runtime dependencies (GH#67, GH#68)
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.179.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Sep 06 2024 Paul Howarth <paul@city-fan.org> - 0.179.0-1
- Update to 0.179.0 (rhbz#2309694)
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.178.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
/usr/share/doc/perl-Test-MockModule /usr/share/doc/perl-Test-MockModule/Changes /usr/share/doc/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 /usr/share/perl5/vendor_perl/Test /usr/share/perl5/vendor_perl/Test/MockModule.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue May 12 00:30:48 2026