SHTK_UNITTEST_DELAYED_FAIL(3) | Library Functions Manual | SHTK_UNITTEST_DELAYED_FAIL(3) |
shtk_unittest_delayed_fail
—
Records a delayed failure
shtk_import unittest
shtk_unittest_delayed_fail |
[arg1 .. argN] |
The shtk_unittest_delayed_fail
function
marks the currently running test case as failed but allows the test to
continue execution. The message given in the arguments
arg1 through argN is printed
along the failure.
shtk_unittest_delayed_fail
should be used
to fail the test case when an erroneous condition is detected and such
condition does not prevent the rest of the test case's code from running and
possibly raising other (legitimate) failure signals.
shtk_unittest_delayed_fail
first appeared
in shtk
1.6.
November 8, 2014 | Debian |