> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionTestCaseSkipped

# TestCaseSkipped

[Valid for](../../../Shared/FeatureAvailability.md):  CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

**Note**\
The parameter **Identifier** is only supported for test modules. It is ignored for test units as test case IDs are generated in vTESTstudio.

## Function Syntax

`TestCaseSkipped(char[] ident, char[] title);`

## Description

This function can be used to mark a test case as unexecuted. This will then appear as a "skipped" test case in the Test Report.\
The verdict of the test module is not affected. This function may only be called in the context of the MainTest function.

## Parameters

* **ident**: Identifier of the test case, e.g. number.
* **title**: Title of the test case.

## Return Values

—

## Example

**Example**\
test case "tc3" is only executed under certain conditions

```c theme={null}
MainTest
{
   tc1();
   tc2();
   if(condition)
   {
      tc3();
   }
   else
   {
      TestCaseSkipped("TC3", "Example");
   }
   tc4();
}
```

[TestCaseComment](CAPLfunctionTestCaseComment.md) • [TestCaseDescription](CAPLfunctionTestCaseDescription.md) • [TestCaseFail](CAPLfunctionTestCaseFail.md) • [TestCaseTitle](CAPLfunctionTestCaseTitle.md) • [TestStep](CAPLfunctionTestStep.md) • [TestStepFail](CAPLfunctionTestStep.md) • [TestStepPass](CAPLfunctionTestStep.md)
