# null

# TestGroupEnd

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

## Function Syntax

```
TestGroupEnd ();
```

## Description

The function closes a test group opened with [TestGroupBegin](CAPLfunctionTestGroupBegin.md). If several test groups were opened, then the last-opened and not yet closed test group is closed.

## Parameters

—

## Return Values

—

## Example

See example: [TestGroupBegin, TestGroupEnd](CAPLfunctionsTFSExampleTestGroupBeginTestGroupEnd.md)

[TestGroupBegin](CAPLfunctionTestGroupBegin.md)
