Package perl-Test-MockModule: Information
Source package: perl-Test-MockModule
Version: 0.180.0-alt1
Build time: Jul 10, 2025, 07:34 PM in the task #389456
Category: Development/Other
Report package bugHome page: https://metacpan.org/release/Test-MockModule
License: GPL+ or Artistic
Summary: Override subroutines in a module for unit testing
Description:
Test::MockModule lets you temporarily redefine subroutines in other packages for the purposes of unit testing. A Test::MockModule object is set up to mock subroutines for a given module. The object remembers the original subroutine so it can easily be restored. This happens automatically when all MockModule objects for the given module go out of scope, or when you unmock() the subroutine.
Maintainer: Igor Vlasenko
Last changed
July 10, 2025 Igor Vlasenko 0.180.0-alt1
- automated CPAN update
April 3, 2025 Igor Vlasenko 0.179.0-alt1
- automated CPAN update
Sept. 17, 2021 Igor Vlasenko 0.177.0-alt1
- automated CPAN update