BSD Ports

devel/p5-Test-ExpectAndCheck 0.07 DragonFly

Expect/check-style unit testing with object methods

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
21.2 KiB, 54.1 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlydevel/p5-Test-ExpectAndCheck0.07
FreeBSDdevel/p5-Test-ExpectAndCheck0.08
NetBSDdevel/p5-Test-ExpectAndCheck0.07nb2
HardenedBSDdevel/p5-Test-ExpectAndCheck0.08
GhostBSDdevel/p5-Test-ExpectAndCheck0.08

Install

Binary package:

pkg install p5-Test-ExpectAndCheck

From DPorts:

cd /usr/dports/devel/p5-Test-ExpectAndCheck && make install clean

Dependencies

Run dependencies 3

No port depends on this one.