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

Up libqcow (20221124)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 24 09:03:56 2023 +0000 (20 months ago)
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.