|
NAME
LIBRARYshtk_import unittest SYNOPSIS
DESCRIPTIONThe Skipped tests do not count as failures: instead, they just represent a test that cannot be successfully be executed and is thus ignored. EXAMPLESConsider the following test case that requires a specific file to be present in the system: shtk_unittest_add_test motd_contents
motd_contents_test() {
[ -f /etc/motd ] || skip "/etc/motd not found; cannot validate"
... do something with /etc/motd here ...
}
SEE ALSOHISTORY
|