wok diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-test-fatal/description.txt Mon Apr 24 09:03:56 2023 +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.