wok annotate perl-test-fatal/description.txt @ rev 25002
updated nrg2iso (0.4 -> 0.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 14:45:30 2022 +0100 (2022-05-16) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@24255 | 1 Test::Fatal is an alternative to the popular Test::Exception. |
Hans-G?nter@24255 | 2 It does much less, but should allow greater flexibility in testing |
Hans-G?nter@24255 | 3 exception-throwing code with about the same amount of typing. |
Hans-G?nter@24255 | 4 |
Hans-G?nter@24255 | 5 It exports one routine by default: exception. |
Hans-G?nter@24255 | 6 |
Hans-G?nter@24255 | 7 Attention! |
Hans-G?nter@24255 | 8 exception intentionally does not manipulate the call stack. |
Hans-G?nter@24255 | 9 User-written test functions that use exception must be careful to |
Hans-G?nter@24255 | 10 avoid false positives if exceptions use stack traces that show |
Hans-G?nter@24255 | 11 arguments. |
Hans-G?nter@24255 | 12 For a more magical approach involving globally overriding caller, |
Hans-G?nter@24255 | 13 see Test::Exception. |