./devel/p5-Test-Most, Most commonly needed test functions and features

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.35, Package name: p5-Test-Most-0.35, Maintainer: pkgsrc-users

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.


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:
[textproc/p5-Text-Diff] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 6ac702ff3623624082979f3c9496e66a175335fc
RMD160: 8db7982856202af932c8be3f275030e8843605ce
Filesize: 15.697 KB

Version history: (Expand)


CVS history: (Expand)


   2017-02-07 13:16:48 by Thomas Klausner | Files touched by this commit (3)
Log message:
Remove references to old perl versions.
   2016-08-16 02:11:49 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.35
Update DEPENDS

Upstream changes:
0.35    2016-08-11
        - Bump module deps due to Test2. Test2 is tested well enough that
          you're probably OK, but you'll want to retest your code with this
          release.
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-07-12 20:56:37 by Thomas Klausner | Files touched by this commit (405)
Log message:
Comment out dependencies of the style
{perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS
since pkgsrc enforces the newest perl version anyway, so they
should always pick perl, but sometimes (pkg_add) don't due to the
design of the {,} syntax.

No effective change for the above reason.

Ok joerg
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2015-04-28 08:59:23 by Makoto Fujiwara | Files touched by this commit (7)
Log message:
Add BUILD_DEPENDS for make test.
   2014-11-23 15:29:45 by Amitai Schlair | Files touched by this commit (2) | Package updated
Log message:
Update to 0.34. From the changelog:

- Make compatible with the new Test::Builder (exodist - Chad Granum)
- Backwards-incompatible change: reftype no longer exported by
  default. See https://github.com/Ovid/test--most/issues/6 (reported
  by rjattril). This should not be noticed by most users
  (crosses-fingers).
- defer_plan() has long been deprecated and will be removed in a
  future release. This release carp()s if you try to call it.