devel/p5-Test-ExpectAndCheck 0.07nb2 NetBSD
Expect/check-style unit testing with object methods
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 11.5 KiB, 35.0 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Test-ExpectAndCheck | 0.07nb2 |
| FreeBSD | devel/p5-Test-ExpectAndCheck | 0.08 |
| DragonFly | devel/p5-Test-ExpectAndCheck | 0.07 |
| HardenedBSD | devel/p5-Test-ExpectAndCheck | 0.08 |
| GhostBSD | devel/p5-Test-ExpectAndCheck | 0.08 |
Install
Binary package:
pkgin install p5-Test-ExpectAndCheck
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Test-ExpectAndCheck && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.07nb2 |
| NetBSD 10.1 aarch64 | 0.07nb1 |
| SmartOS / illumos x86_64 | 0.07nb2 |
| macOS 15 arm64 | 0.07nb2 |
Dependencies
Run dependencies 2
No port depends on this one.