./devel/p5-Test-Trap, Perl extension to trap exit codes, exceptions, output

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


Branch: CURRENT, Version: 0.2.2nb1, Package name: p5-Test-Trap-0.2.2nb1, Maintainer: pkgsrc-users

This modules is primarily (but not exclusively) for use in test
scripts: A block eval on steroids, configurable and extensible,
but by default trapping (Perl) STDOUT, STDERR, warnings, exceptions,
would-be exit codes, and return values from boxed blocks of test
code.

The values collected by the latest trap can then be queried or
tested through a special trap object.


Required to run:
[lang/perl5] [devel/p5-Data-Dump] [devel/p5-Test-Tester]

Master sites: (Expand)

SHA1: 2342990b5a96e751cdcea839efcc79a2f2223f3e
RMD160: 01863953e120cb1e3ade08b5d3c88e5ccc1e07fc
Filesize: 44.976 KB

Version history: (Expand)


CVS history: (Expand)


   2013-05-31 14:42:58 by Thomas Klausner | Files touched by this commit (2880)
Log message:
Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
   2013-01-19 23:57:06 by Amitai Schlair | Files touched by this commit (2) | Package updated
Log message:
Update to 0.2.2. From the changelog:

Test::Trap::Builder::TempFile & Test::Trap::Builder::SystemSafe:
- RT #61776: Remove temporary files at first opportunity;
  thanks go to Ian Goodacre.
Documentation:
- RT #61773: return from trap function
  Document what trap { ... } returns.
Tests:
- RT #75430: Failing tests in 06-layer.t
  Convert a number of die_is to die_like, handling cases with
  and without trailing comma from carp.
- Unset another taint-checked environment variable, CDPATH;
  thanks go to CPAN testers.
   2012-10-31 12:19:55 by Aleksej Saushev | Files touched by this commit (1460)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
   2012-10-03 23:59:10 by Thomas Klausner | Files touched by this commit (2798)
Log message:
Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
   2011-08-16 22:40:16 by Thomas Klausner | Files touched by this commit (3) | Imported package
Log message:
Initial import of p5-Test-Trap-0.2.1.

This modules is primarily (but not exclusively) for use in test
scripts: A block eval on steroids, configurable and extensible,
but by default trapping (Perl) STDOUT, STDERR, warnings, exceptions,
would-be exit codes, and return values from boxed blocks of test
code.

The values collected by the latest trap can then be queried or
tested through a special trap object.