Trap exit codes, exceptions, output, etc

Edit Package perl-Test-Trap
http://search.cpan.org/dist/Test-Trap

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.

Refresh
Refresh
Source Files
Filename Size Changed
Test-Trap-v0.2.2.tar.gz 0000046055 45 KB
perl-Test-Trap.changes 0000000841 841 Bytes
perl-Test-Trap.spec 0000002441 2.38 KB
Revision 5 (latest revision is 14)
Stephan Kulow's avatar Stephan Kulow (coolo) committed (revision 5)
- updated to 0.2.2
      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.
Comments 0
openSUSE Build Service is sponsored by