wok-current annotate 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
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.