'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 be easily restored. This happens automatically when all MockModule objects for the given module go out of scope, or when you 'unmock()' the subroutine.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.178.0-bp156.2.3.1 info | openSUSE-2024-180 | 2024-06-27 | 15 SP5 Update |
|
|
0.177.0-bp156.1.1 info | GA Release | 2023-12-08 | 15 SP6 |
|
|