wok-6.x view perl-test-fatal/description.txt @ rev 24910

Update some web_site (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 09 14:32:04 2022 +0000 (2022-04-09)
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.