./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.4, Package name: p5-Test-Trap-0.3.4, 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)


   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
   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-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-17 03:37:46 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(pkgsrc)
 - Convert DEPENDS from p5-Test-Tester to p5-Test-Simple > 1.001010
   (See commit log on devel/p5-Test-Simle)
(upstream)
 - Update 0.3.0 to 0.3.2
---------------------
0.3.2   Tue Feb 24 00:19:23 CET 2015
        The tempfile-preserve strategy was (always) broken on
        non-perlio perls.
        Also, some of the tests were (recently) noisy on old perls.
        Test::Trap::Builder::TempFile:
        - add a GOTPERLIO guard to each IO_LAYERS block.
        Tests:
        - 03-files.pl now avoid "used only once" warnings.

0.3.1   Mon Feb 23 21:43:30 CET 2015
        This release doesn't touch library code, but addresses some
        test issues:
        - It fixes RT #102271 by checking for the presence of a
          utf8-layer on the original STDOUT, instead of assuming its
          absence.
        - It makes some test code cleaner.
        - It silences redefine warnings during testing on certain
          platforms.
        Library files: No change but version bump.
        Tests:
        - 03-files* now use another global to specify the class to
          require, replacing a quick-and-dirty hack that turned out to
          be noisy on some platforms, including Cygwin.
        - {15-tempfile,16-systemsafe}-options.t now check for the
          presence of utf8-layer on STDOUT, instead of assuming its
          absence.  (Either of the environment variables PERL_UNICODE
          and PERL5OPT could cause such a layer to be present, and
          there might be other ways to do it.)