
Name | perl-test-mockmodule |
Version | 0.177.0 |
Category | development |
Description | Perl extension Test::MockModule. |
Maintainer | pascal.bellard@slitaz.org |
License | GPL |
Website | https://metacpan.org/pod/Test::MockModule |
Sizes | |
Depends on | ![]() ![]() ![]() ![]() |
Download package |
|
Show receipt | |
Show files list | |
Show cooking log | |
Install package Remove package |
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 be easily restored. This happens automatically when all MockModule objects for the given module go out of scope, or when you unmock() the subroutine. |
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)