wok diff perl-test-fatal/description.txt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-test-fatal/description.txt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -0,0 +1,13 @@
     1.4 +Test::Fatal is an alternative to the popular Test::Exception.
     1.5 +It does much less, but should allow greater flexibility in testing
     1.6 +exception-throwing code with about the same amount of typing.
     1.7 +
     1.8 +It exports one routine by default: exception.
     1.9 +
    1.10 +Attention!
    1.11 +exception intentionally does not manipulate the call stack.
    1.12 +User-written test functions that use exception must be careful to
    1.13 +avoid false positives if exceptions use stack traces that show
    1.14 +arguments.
    1.15 +For a more magical approach involving globally overriding caller,
    1.16 +see Test::Exception.