pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc Note initial addition of p5-Test-MockModule versio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e199c3da2da0
branches:  trunk
changeset: 546907:e199c3da2da0
user:      seb <seb%pkgsrc.org@localhost>
date:      Tue Sep 09 00:35:35 2008 +0000

description:
Note initial addition of p5-Test-MockModule version 0.05 as
devel/p5-Test-MockModule into The NetBSD Packages Collection.

The Perl 5 module 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.

diffstat:

 doc/CHANGES-2008 |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 929c69c98407 -r e199c3da2da0 doc/CHANGES-2008
--- a/doc/CHANGES-2008  Tue Sep 09 00:34:16 2008 +0000
+++ b/doc/CHANGES-2008  Tue Sep 09 00:35:35 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2008,v 1.2179 2008/09/09 00:14:53 seb Exp $
+$NetBSD: CHANGES-2008,v 1.2180 2008/09/09 00:35:35 seb Exp $
 
 Changes to the packages collection and infrastructure in 2008:
 
@@ -3674,3 +3674,4 @@
        Updated devel/p5-Moose to 0.57 [seb 2008-09-08]
        Added devel/p5-Test-WWW-Selenium version 1.15 [seb 2008-09-09]
        Updated devel/p5-subversion to 1.5.2nb2 [seb 2008-09-09]
+       Added devel/p5-Test-MockModule version 0.05 [seb 2008-09-09]



Home | Main Index | Thread Index | Old Index