Package : perl-Mock-MonkeyPatch > RPM : perl-Mock-MonkeyPatch-1.20.0-2.mga8.noarch.rpm

Basic items

Install
Name perl-Mock-MonkeyPatch
Version 1.20.0
Release 2.mga8
URL https://metacpan.org/release/Mock-MonkeyPatch
Group Development/Perl
Summary Monkey patching with test mocking in mind
Size 43KB
Arch noarch
License GPLv1+ or Artistic

Description

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.

Media information

Distribution release Mageia 8
Media name core-updates_testing
Media arch i586

Advanced items

Source RPM perl-Mock-MonkeyPatch-1.20.0-2.mga8.src.rpm
Build time 2022-07-29 23:11:31
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie