wok diff perl-test-mockmodule/description.txt @ rev 24892

Down libtmp (1.1.17), 1.1.19 doesn't detect smartphones (?)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 07 15:38:15 2022 +0000 (2022-04-07)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-test-mockmodule/description.txt	Thu Apr 07 15:38:15 2022 +0000
     1.3 @@ -0,0 +1,7 @@
     1.4 +Test::MockModule lets you temporarily redefine subroutines in other packages
     1.5 +for the purposes of unit testing.
     1.6 +
     1.7 +A Test::MockModule object is set up to mock subroutines for a given module.
     1.8 +The object remembers the original subroutine so it can be easily restored.
     1.9 +This happens automatically when all MockModule objects for the given module
    1.10 +go out of scope, or when you unmock() the subroutine.