Monkey patching with test mocking in mind
Mock::MonkeyPatch 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 "restore" method is called) the original subroutine is replaced.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 1.02-9.fc40 | - |
Fedora 40 | 1.02-9.fc40 | - |
Fedora 39 | 1.02-7.fc39 | - |
Fedora 38 | 1.02-6.fc38 | - |
You can contact the maintainers of this package via email at
perl-Mock-MonkeyPatch dash maintainers at fedoraproject dot org
.