Wed, 18 Nov 2026 08:58:58 UTC Log in
Monkey patching with test mocking in mind 23.81 KB built 2026-10-16 21:59:33 GMT

Description

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.

Dependencies

12 total
Requires10
  • perl(Carp)
  • perl(Scalar::Util)
  • perl(Sub::Util) >= 1.40
  • perl(strict)
  • perl(warnings)
  • perl-libs
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides2
  • perl(Mock::MonkeyPatch) = 1.03
  • perl-Mock-MonkeyPatch = 1.03-5.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

8
Files 1–8 of 8

Component of

buildroots that installed this RPM
Buildroot descending sort Created State
f45-build-27477-624 2026-10-17 02:30:19 expired
Buildroots 1–1 of 1