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

Up klavaro (1.2.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 08:45:04 2022 +0000 (2022-06-22)
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.