Next: Test case result description, Previous: General, Up: General
Test cases defined in Lua scripting language return their results by value (as they are functions). Two macros are provided: TP_PASSED
and TP_FAILED
.
Example:
function case_function() -- This is a title Return TP_PASSED; end function case_function() -- This is a title Return TP_FAILED; end