SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.
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 onperl iconperl  perl-sub-identify iconperl-sub-identify  perl-super iconperl-super  perl-test-warnings iconperl-test-warnings 
perl-test-mockmodule screenshot
Download package perl-test-mockmodule screenshot
Show receipt
Show files list
Show cooking log

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.

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)