BSD Ports

devel/p5-Test-ExpectAndCheck 0.08 FreeBSD

Expect/check-style unit testing with object methods

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
21.0 KiB, 53.5 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
FreeBSDdevel/p5-Test-ExpectAndCheck0.08
NetBSDdevel/p5-Test-ExpectAndCheck0.07nb2
DragonFlydevel/p5-Test-ExpectAndCheck0.07

Install

Binary package:

pkg install p5-Test-ExpectAndCheck

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Test-ExpectAndCheck>0:devel/p5-Test-ExpectAndCheck

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.080.08-0.070.08
FreeBSD:14:quarterly0.080.08n/a0.070.08
FreeBSD:15:latest0.080.08n/a0.070.07
FreeBSD:15:quarterly0.080.08n/an/an/a
FreeBSD:16:latest0.080.08n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 4
Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • %%SITE_PERL%%/Test/ExpectAndCheck.pm
  • %%SITE_PERL%%/Test/ExpectAndCheck/Future.pm
  • %%PERL5_MAN3%%/Test::ExpectAndCheck.3.gz
  • %%PERL5_MAN3%%/Test::ExpectAndCheck::Future.3.gz
distinfo 1
FileSizeSHA256
Test-ExpectAndCheck-0.08.tar.gz23612e638a601f8af144340decc40433d97d8679eb326d4595e0c7821235045e601ed
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.