wok view perl-test-fatal/description.txt @ rev 24937

Up iptraf (3.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 14 08:53:05 2022 +0000 (2022-04-14)
parents
children
line source
1 Test::Fatal is an alternative to the popular Test::Exception.
2 It does much less, but should allow greater flexibility in testing
3 exception-throwing code with about the same amount of typing.
5 It exports one routine by default: exception.
7 Attention!
8 exception intentionally does not manipulate the call stack.
9 User-written test functions that use exception must be careful to
10 avoid false positives if exceptions use stack traces that show
11 arguments.
12 For a more magical approach involving globally overriding caller,
13 see Test::Exception.