wok-current diff perl-test-fatal/description.txt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 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 Fri Sep 01 12:04:33 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.