shtk_unittest_set_expected_failure man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

SHTK_UNITTEST_SET_EXP... BSD Library Functions Manual SHTK_UNITTEST_SET_EXP...

NAME
     shtk_unittest_set_expect_failure — Makes the test expect a failure

LIBRARY
     shtk_import unittest

SYNOPSIS
     shtk_unittest_set_expect_failure

DESCRIPTION
     The shtk_unittest_set_expect_failure function changes the behavior of the
     test so that a failure indicates success and a pass indicates a failure.

     Changing the expectation of the test to a failure is useful for test
     cases that exercise a known bug: while the bug is live, the test case
     will pass with a message describing the error encountered; however, when
     the bug is fixed, the test will start failing indicating that it needs to
     be revised.

     shtk_unittest_set_expect_failure can only be called once during the exe‐
     cution of a test case and its effects cannot be reversed.

SEE ALSO
     shtk(3), shtk_unittest(3)

HISTORY
     shtk_unittest_set_expect_failure first appeared in shtk 1.6.

BSD			       November 8, 2014				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net