wok-6.x annotate perl-test-fatal/description.txt @ rev 24258
updated perl-test-requires (0.10 -> 0.11)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:07:54 2022 +0100 (2022-01-02) |
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. |