Trap exit codes, exceptions, output, etc
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.
- Developed at devel:languages:perl
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP4:FactoryCandidates/perl-Test-Trap && cd $_
- Create Badge
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 2 (latest revision is 10)
Stephan Kulow (coolo)
accepted
request 122891
from
Stephan Kulow (coolo)
(revision 2)
- 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