./devel/p5-Test-ExpectAndCheck, Expect/check-style unit testing with object methods

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.07, Package name: p5-Test-ExpectAndCheck-0.07, Maintainer: wen

This package creates objects that assist in writing unit tests with mocked
object instances. Each mock instance will expect to receive a given list of
method calls. Each method call is checked that it received the right arguments,
and will return a prescribed result. At the end of each test, each object is
checked to ensure all the expected methods were called.


Master sites: (Expand)

Filesize: 22.291 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-24 10:36:14 by Wen Heping | Files touched by this commit (2)
Log message:
Update to 0.07

Upstream changes:
0.07    2024-10-13
        [CHANGES]
         * Added `namedargs()` helper for dealing with methods that take named
           arguments in maybe-unreliable orders due to hash order randomisation
         * Added optional VERBOSE debugging mode
   2024-11-16 13:08:07 by Thomas Klausner | Files touched by this commit (2504)
Log message:
*: recursive bump for perl 5.40
   2024-04-30 05:16:40 by Wen Heping | Files touched by this commit (3)
Log message:
Import Test-ExpectAndCheck-0.06 as devel/p5-Test-ExpectAndCheck

This package creates objects that assist in writing unit tests with mocked
object instances. Each mock instance will expect to receive a given list of
method calls. Each method call is checked that it received the right arguments,
and will return a prescribed result. At the end of each test, each object is
checked to ensure all the expected methods were called.