devel/p5-Test-Deep 1.205nb2 NetBSD
Perl5 module to test deep structures
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 38.8 KiB, 316.1 KiB installed
Description
Test::Deep gives you very flexible ways to check that the result you got is the result you were expecting. At its simplest it compares two structures by going through each level, ensuring that the values match, that arrays and hashes have the same elements and that references are blessed into the correct class. It also handles circular data structures without getting caught in an infinite loop.
Where it becomes more interesting is in allowing you to do something besides simple exact comparisons. With strings, the = operator checks that 2 strings are exactly equal but sometimes that's not what you want. When you don't know exactly what the string should be but you do know some things about how it should look, = is no good and you must use pattern matching instead. Test::Deep provides pattern matching for complex data structures.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Test-Deep | 1.205nb2 |
| FreeBSD | devel/p5-Test-Deep | 1.205 |
| OpenBSD | devel/p5-Test-Deep | 1.205 |
| DragonFly | devel/p5-Test-Deep | 1.204 |
| MidnightBSD | devel/p5-Test-Deep | 1.205 |
| HardenedBSD | devel/p5-Test-Deep | 1.205 |
| GhostBSD | devel/p5-Test-Deep | 1.205 |
Install
Binary package:
pkgin install p5-Test-Deep
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Test-Deep && 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 | 1.205nb2 |
| NetBSD 10.1 aarch64 | 1.205nb1 |
| SmartOS / illumos x86_64 | 1.205nb2 |
| macOS 15 arm64 | 1.205nb2 |
Dependencies
Run dependencies 1
Required by 15
- databases/p5-SQL-Abstract
- databases/p5-SQL-Abstract-Classic
- devel/p5-CPAN-Common-Index
- devel/p5-Dist-Zilla
- devel/p5-Shell-Perl
- devel/p5-Test-Base
- devel/p5-Test-Most
- devel/p5-Test-Spec
- mail/imapsync
- math/p5-Excel-Template-Plus
- net/p5-MaxMind-DB-Writer
- net/p5-Test-DNS
- wip/p5-Data-DPath
- www/p5-Test-LWP-UserAgent
- x11/p5-Tcl-pTk