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.
- Devel package for openSUSE:Factory
-
1
derived packages
- Links to openSUSE:Factory / perl-Test-Trap
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:perl/perl-Test-Trap && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Test-Trap-v0.2.2.tar.gz | 0000046055 45 KB | |
_link | 0000000149 149 Bytes | |
perl-Test-Trap.changes | 0000000841 841 Bytes | |
perl-Test-Trap.spec | 0000002441 2.38 KB |
Revision 5 (latest revision is 14)
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