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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Test-ExpectAndCheck | 0.08 |
| NetBSD | devel/p5-Test-ExpectAndCheck | 0.07nb2 |
| DragonFly | devel/p5-Test-ExpectAndCheck | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.08 | 0.08 | - | 0.07 | 0.08 |
| FreeBSD:14:quarterly | 0.08 | 0.08 | n/a | 0.07 | 0.08 |
| FreeBSD:15:latest | 0.08 | 0.08 | n/a | 0.07 | 0.07 |
| FreeBSD:15:quarterly | 0.08 | 0.08 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.08 | 0.08 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-Future>=0: devel/p5-Futurep5-Test-Deep>=0: devel/p5-Test-Deep
Runtime 2
p5-Future>=0: devel/p5-Futurep5-Test-Deep>=0: devel/p5-Test-Deep
Test 1
p5-Test-Simple>=1.302200: devel/p5-Test-Simple
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
| File | Size | SHA256 |
|---|---|---|
| Test-ExpectAndCheck-0.08.tar.gz | 23612 | e638a601f8af144340decc40433d97d8679eb326d4595e0c7821235045e601ed |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.