devel/p5-Test-Most 0.38nb4 NetBSD
Most commonly needed test functions and features
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 15.3 KiB, 49.9 KiB installed
Description
This module provides you with the most commonly used testing functions and gives you a bit more fine-grained control over your test suite.
use Test::Most tests => 4, 'die';
ok 1, 'Normal calls to ok() should succeed';
is 2, 2, '... as should all passing tests';
eq\_or\_diff \[3\], \[4\], '... but failing tests should die';
ok 4, '... will never get to here';
As you can see, the eq_or_diff test will fail. Because 'die' is in the import list, the test program will halt at that point.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Test-Most | 0.38nb4 |
| FreeBSD | devel/p5-Test-Most | 0.38 |
| OpenBSD | devel/p5-Test-Most | 0.42 |
| DragonFly | devel/p5-Test-Most | 0.38 |
| MidnightBSD | devel/p5-Test-Most | 0.38 |
| HardenedBSD | devel/p5-Test-Most | 0.38 |
| GhostBSD | devel/p5-Test-Most | 0.38 |
Install
Binary package:
pkgin install p5-Test-Most
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Test-Most && 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.38nb4 |
| NetBSD 10.1 aarch64 | 0.38nb3 |
| SmartOS / illumos x86_64 | 0.38nb4 |
| macOS 15 arm64 | 0.38nb4 |