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

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


Branch: CURRENT, Version: 0.3.4nb3, Package name: p5-Test-Trap-0.3.4nb3, 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-Simple]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 53519d57ba9879fa935cf49c09da7514d8d7dd89
RMD160: c9cc8e473bb6a9188f1db73b3c7726855e33894f
Filesize: 54.042 KB

Version history: (Expand)


CVS history: (Expand)


   2020-09-04 15:45:17 by Thomas Klausner | Files touched by this commit (38)
Log message:
*: remove p5-Test-Simple, part of perl
   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631) | Package updated
Log message:
*: bump PKGREVISION for perl-5.32.
   2019-08-11 15:25:21 by Thomas Klausner | Files touched by this commit (3557) | Package updated
Log message:
Bump PKGREVISIONs for perl 5.30.0
   2019-06-30 22:17:50 by Nia Alarie | Files touched by this commit (1816) | Package updated
Log message:
Update packages using a search.cpan.org HOMEPAGE to metacpan.org.

The former now redirects to the latter.

This covers the most simple cases where http://search.cpan.org/dist/name
can be changed to https://metacpan.org/release/name.

Reviewed by hand to hopefully make sure no unwanted changes sneak in.
   2018-11-25 13:43:40 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.3.4

Upstream changes:
0.3.4   Sun Oct 14 20:39:41 CEST 2018
        For this release, many thanks go to Todd Rinaldo, who found
        that my fix for the $^E clobbering wound up clobbering $! in
        every basic test.
        - Declared some required and optional dependencies.
        - RT #127112 is addressed, using the patch from TODDR@cpan.org
          augmented wtih a comment.
        - A regression test has been added for this.
   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2017-09-17 15:35:24 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Test-Trap: update to 0.3.3.

0.3.3   Tue Aug 22 02:06:09 CEST 2017
	For this release, many thanks go to Slaven Rezic, who found
        that Test::More::is() (or Test2::Formatter::TAP::write())
        clobbers $^E on Windows.
        - RT #105125 is addressed:  The tests now use a copy of $^E
          taken before Test::More gets a chance to touch it.
	- Further, the Test::Trap test methods might also clobber $^E
          (via Test::More or other modules), so they now localize $^E
          before invoking the callback.
        - Regression tests have been added for this.
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0