mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
3e4882176a
Test::Trap is 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. WWW: http://search.cpan.org/dist/Test-Trap/
10 lines
413 B
Plaintext
10 lines
413 B
Plaintext
Test::Trap is 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.
|
|
|
|
WWW: http://search.cpan.org/dist/Test-Trap/
|