BSD Ports

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

SystemPortVersion
NetBSDdevel/p5-Test-Most0.38nb4
FreeBSDdevel/p5-Test-Most0.38
OpenBSDdevel/p5-Test-Most0.42
DragonFlydevel/p5-Test-Most0.38
MidnightBSDdevel/p5-Test-Most0.38
HardenedBSDdevel/p5-Test-Most0.38
GhostBSDdevel/p5-Test-Most0.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.

RepositoryVersion
NetBSD 10.1 x86_640.38nb4
NetBSD 10.1 aarch640.38nb3
SmartOS / illumos x86_640.38nb4
macOS 15 arm640.38nb4

Dependencies

Run dependencies 7

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0