The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "distribution:Test-Trap test::trap"

Test::Trap - Trap exit codes, exceptions, output, etc. River stage three • 67 direct dependents • 651 total dependents

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...

EBHANSSEN/Test-Trap-v0.3.5 - 27 Jul 2022 15:59:02 UTC

Test::Trap::Builder - Backend for building test traps River stage three • 67 direct dependents • 651 total dependents

Test::Trap neither traps nor tests everything you may want to trap or test. So, Test::Trap::Builder provides methods to write your own trap layers, accessors, and test callbacks -- preferably for use with your own modules (trappers). Note that layers...

EBHANSSEN/Test-Trap-v0.3.5 - 27 Jul 2022 15:59:02 UTC

Test::Trap::Builder::PerlIO - Capture strategy using PerlIO::scalar River stage three • 67 direct dependents • 651 total dependents

This module provides a capture strategy *perlio*, based on PerlIO::scalar, for the trap's output layers. Note that you may specify different strategies for each output layer on the trap. See also Test::Trap (:stdout and :stderr) and Test::Trap::Build...

EBHANSSEN/Test-Trap-v0.3.5 - 27 Jul 2022 15:59:02 UTC

Test::Trap::Builder::TempFile - Capture strategies using File::Temp River stage three • 67 direct dependents • 651 total dependents

This module by default provides a capture strategy based on File::Temp for the trap's output layers. The import accepts a name (as a string; default *tempfile*) and options (as a hashref; by default empty), and registers a capture strategy with that ...

EBHANSSEN/Test-Trap-v0.3.5 - 27 Jul 2022 15:59:02 UTC

Test::Trap::Builder::SystemSafe - "Safe" capture strategies using File::Temp River stage three • 67 direct dependents • 651 total dependents

This module provides capture strategies *systemsafe*, based on File::Temp, for the trap's output layers. These strategies insists on reopening the output file handles with the same descriptors, and therefore, unlike Test::Trap::Builder::TempFile and ...

EBHANSSEN/Test-Trap-v0.3.5 - 27 Jul 2022 15:59:02 UTC
5 results (0.034 seconds)