TestCaseFail
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
You can set the verdict of the current test case to fail. This function can only be used within a test case. It is not possible to set the verdict of this test case back to pass. NoteThis function does not report any reason for the failure of the test case nor the point during test case execution where it was called. It is recommended to use TestStepFail instead which reports a text for the reason as a step in the test execution and automatically sets the verdict of the test case to fail.