Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Mock-MonkeyPatch | Distribution: Mageia |
Version: 1.30.0 | Vendor: Mageia.Org |
Release: 1.mga10 | Build date: Fri Jan 24 18:17:17 2025 |
Group: Development/Perl | Build host: localhost |
Size: 44034 | Source RPM: perl-Mock-MonkeyPatch-1.30.0-1.mga10.src.rpm |
Packager: tv <tv> | |
Url: https://metacpan.org/release/Mock-MonkeyPatch | |
Summary: Monkey patching with test mocking in mind |
Mocking is a common tool, especially for testing. By strategically replacing a subroutine, one can isolate segments (units) of code to test individually. When this is done it is important to know that the mocked sub was actually called and with what arguments it was called. the Mock::MonkeyPatch manpage injects a subroutine in the place of an existing one. It returns an object by which you can revisit the manner in which the mocked subroutine was called. Further when the object goes out of scope (or when the the /restore manpage method is called) the original subroutine is replaced.
GPLv1+ or Artistic
* Fri Jan 24 2025 tv <tv> 1.30.0-1.mga10 + Revision: 2141827 - update to 1.03
/usr/share/doc/perl-Mock-MonkeyPatch /usr/share/doc/perl-Mock-MonkeyPatch/Changes /usr/share/doc/perl-Mock-MonkeyPatch/LICENSE /usr/share/doc/perl-Mock-MonkeyPatch/META.json /usr/share/doc/perl-Mock-MonkeyPatch/META.yml /usr/share/doc/perl-Mock-MonkeyPatch/MYMETA.yml /usr/share/doc/perl-Mock-MonkeyPatch/README /usr/share/man/man3/Mock::MonkeyPatch.3pm.xz /usr/share/perl5/vendor_perl/Mock /usr/share/perl5/vendor_perl/Mock/MonkeyPatch.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Mon Jan 27 10:09:21 2025