# skip\_testsuite

Skip test suite on condition

## Syntax

* skip\_testsuite()
* skip\_testsuite(reason)
* skip\_testsuite(condition)
* skip\_testsuite(condition, reason)

## Input argument

* condition - logical: true (default) or false
* reason - a string: reason to skip test suite

## Description

The skip\_testsuite function allows you to skip a test suite based on a specified condition.

condition: A boolean expression that determines whether to skip the test suite. If condition evaluates to true, the test suite will be skipped.

reason: A string explaining the reason for skipping the test suite. This parameter is useful for providing context to other developers or yourself in case the test suite is skipped.

## Example

```matlab
skip_testsuite(true, 'Test skipped')
```

## See also

[test\_run](test_run).

## History

| Version | Description     |
| ------- | --------------- |
| 1.4.0   | initial version |

## Author

Allan CORNET
