Path to this page:
./
devel/p5-Test-Most,
Most commonly needed test functions and features
Branch: CURRENT,
Version: 0.38nb2,
Package name: p5-Test-Most-0.38nb2,
Maintainer: pkgsrc-usersThis 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.
Required to run:[
lang/perl5] [
devel/p5-Test-Exception] [
devel/p5-Exception-Class] [
devel/p5-Test-Deep] [
devel/p5-Test-Warn] [
devel/p5-Test-Simple] [
devel/p5-Test-Differences] [
devel/p5-Data-Dumper-Names]
Required to build:[
pkgtools/cwrappers]
Master sites: (Expand)
Filesize: 15.795 KB
Version history: (Expand)
- (2024-11-16) Updated to version: p5-Test-Most-0.38nb2
- (2023-07-06) Updated to version: p5-Test-Most-0.38nb1
- (2022-10-01) Updated to version: p5-Test-Most-0.38
- (2022-06-28) Updated to version: p5-Test-Most-0.37nb4
- (2021-05-25) Updated to version: p5-Test-Most-0.37nb3
- (2020-09-04) Updated to version: p5-Test-Most-0.37nb2
CVS history: (Expand)