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.20.0 | Vendor: Mageia.Org |
Release: 2.mga8 | Build date: Fri Jul 29 23:11:31 2022 |
Group: Development/Perl | Build host: localhost |
Size: 42633 | Source RPM: perl-Mock-MonkeyPatch-1.20.0-2.mga8.src.rpm |
Packager: bcornec <bcornec> | |
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
* Mon Mar 21 2022 umeabot <umeabot> 1.20.0-2.mga9 + Revision: 1814762 - Mageia 9 Mass Rebuild * Sat Jul 17 2021 tv <tv> 1.20.0-1.mga9 + Revision: 1736479 - imported package perl-Mock-MonkeyPatch * Sat Jul 17 2021 Thierry Vignaud <tv@mageia.org> 1.20.0-1.mga9 - Import from CPAN
/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/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, Tue Jul 9 15:13:56 2024