The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:Test::Trap"

Test::Trap - Trap exit codes, exceptions, output, etc. River stage three • 67 direct dependents • 653 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 • 653 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::Run::Trap::Obj - wrapper around Test::Trap for trapping errors. River stage two • 9 direct dependents • 12 total dependents

This class implements a wrapper around Test::Trap. When an assertion files, the diagnostics prints all the relevant and trapped fields for easy debugging....

SHLOMIF/Test-Run-0.0305 - 17 Oct 2020 16:18:04 UTC

Test::Trap::Builder::PerlIO - Capture strategy using PerlIO::scalar River stage three • 67 direct dependents • 653 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 • 653 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 • 653 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

Test::Run::CmdLine::Trap::Prove - trap the output of a runprove run. River stage two • 7 direct dependents • 10 total dependents

Testing class to trap the output of a runprove run....

SHLOMIF/Test-Run-CmdLine-0.0132 - 19 Oct 2020 11:46:26 UTC

Test::Run::CmdLine::Trap::ProveApp - trap the output of a run of Test::Run::CmdLine::Prove::App. River stage two • 7 direct dependents • 10 total dependents

Testing class to trap the output of a "perl -MTest::Run::CmdLine::Prove::App ..." run....

SHLOMIF/Test-Run-CmdLine-0.0132 - 19 Oct 2020 11:46:26 UTC

Test::Spec - Write tests in a declarative specification style River stage two • 54 direct dependents • 76 total dependents

This is a declarative specification-style testing system for behavior-driven development (BDD) in Perl. The tests (a.k.a. examples) are named with strings instead of subroutine names, so your fingers will suffer less fatigue from underscore-itis, wit...

AKZHAN/Test-Spec-0.54 - 21 Nov 2017 10:08:54 UTC

Test::Warn - Perl extension to test methods for warnings River stage four • 364 direct dependents • 5401 total dependents

A good style of Perl programming calls for a lot of diverse regression tests. This module provides a few convenience methods for testing warning based-code. If you are not already familiar with the Test::More manpage now would be the time to go take ...

BIGJ/Test-Warn-0.37 - 13 Aug 2022 09:21:01 UTC

Test::NoTty River stage zero No dependents

Test your code that handles failure to open /dev/tty On a *nix system the special file /dev/tty always exists, and opening it gives you a(nother) file handle attached to your controlling terminal. This is useful if you want direct user input, such as...

NWCLARK/Test-NoTty-0.03 - 20 Mar 2023 10:59:39 UTC

Test::Effects - Test all effects at once (return value, I/O, warnings, exceptions, etc.) River stage one • 2 direct dependents • 3 total dependents

Test::Effects provides a single exported subroutine: "effects_ok" This sub expects a block of code (or sub ref) as its first argument, followed by an optional hash ref as its second, and an optional string as its third. The first argument specifies s...

DCONWAY/Test-Effects-0.002000 - 04 Jul 2023 05:19:30 UTC

Email::Send::Test - Captures emails sent via Email::Send for testing River stage two • 22 direct dependents • 46 total dependents

Email::Send::Test is a driver for use in testing applications that use Email::Send to send email. To be able to use it in testing, you will need some sort of configuration mechanism to specify the delivery method to be used, or some other way that in...

RJBS/Email-Send-2.201 - 05 Mar 2015 13:11:45 UTC

Test::UnixExit - test exit status words River stage one • 1 direct dependent • 2 total dependents

NOTE Test2::Tools::Command should be used instead of this module. This module provides a means to check that the exit status word of a unix process exactly matches a specific exit code, signal number, and whether a core was generated; the simple "$? ...

JMATES/Test-UnixExit-0.03 - 02 Jan 2023 15:34:44 UTC

Test::Aggregate - Aggregate *.t tests to make them run faster. River stage one • 4 direct dependents • 5 total dependents

WARNING: this is ALPHA code. The interface is not guaranteed to be stable. Further, check out Test::Aggregate::Nested (included with this distribution). It's a more robust implementation which does not have the same limitations as "Test::Aggregate". ...

RWSTAUNER/Test-Aggregate-0.375 - 28 Jan 2017 23:59:09 UTC

SMS::Send::Test - SMS::Send International-Class Testing Driver River stage two • 67 direct dependents • 77 total dependents

SMS::Send supports two classes of drivers. An international class named in the format "SMS::Send::Foo", which only accept international numbers in "+1 XXX XXXXX" format, and regional-context drivers in the format "SMS::Send::XX::Foo" which will also ...

ETHER/SMS-Send-1.07 - 16 Jul 2023 03:52:39 UTC

Test::Mock::Wrapper River stage zero No dependents

This is another module for mocking objects in perl. It will wrap around an existing object, allowing you to mock any calls for testing purposes. It also records the arguments passed to the mocked methods for later examination. The verification method...

PERLJEDI/Test-Mock-Wrapper-0.18 - 10 May 2016 13:18:49 UTC

SMS::Send::AU::Test - SMS::Send Regional-Class Testing Driver River stage two • 67 direct dependents • 77 total dependents

SMS::Send supports two classes of drivers. An international class named in the format "SMS::Send::Foo", which only accept international numbers in "+1 XXX XXXXX" format, and regional-context drivers in the format "SMS::Send::XX::Foo" which will also ...

ETHER/SMS-Send-1.07 - 16 Jul 2023 03:52:39 UTC

Test::Mock::Net::SNMP - Perl extension for mocking Net::SNMP in your unit tests. River stage zero No dependents

Test::Mock::Net::SNMP is a simple way to mock a Net::SNMP object and allows you to test your modules behaviour when retrieving SNMP data or sending SNMP traps....

ROBH/Test-Mock-Net-SNMP-1.02 - 12 Apr 2013 11:33:36 UTC

Test::Run::Core_GplArt - GPL/Artistic-licensed code of Test::Run::Core. River stage two • 9 direct dependents • 12 total dependents

STOP! If all you want to do is write a test script, consider using Test::Simple. Test::Run::Core is the module that reads the output from Test::Simple, Test::More and other modules based on Test::Builder. You don't need to know about Test::Run::Core ...

SHLOMIF/Test-Run-0.0305 - 17 Oct 2020 16:18:04 UTC
22 results (0.072 seconds)