FreeBSD.software
Home/devel/p5-Test-ExpectAndCheck

p5-Test-ExpectAndCheck

0.07devel

Expect/check-style unit testing with object methods

Test::ExpectAndCheck 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.

$pkg install p5-Test-ExpectAndCheck
metacpan.org/dist/Test-ExpectAndCheck
Origin
devel/p5-Test-ExpectAndCheck
Size
52.3KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
3 packages
Required by
0 packages

Dependencies (3)