wok-6.x diff perl-test-fatal/description.txt @ rev 24576
updated fswebcam (20140113 -> 20200725)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 10:49:46 2022 +0100 (2022-02-27) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-test-fatal/description.txt Sun Feb 27 10:49:46 2022 +0100 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.