skip_testsuite()
skip_testsuite(reason)
skip_testsuite(condition)
skip_testsuite(condition, reason)
| Parameter | Description |
|---|---|
| condition | logical: true (default) or false |
| reason | a string: reason to skip test suite |
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.
skip_testsuite(true, 'Test skipped')
| Version | Description |
|---|---|
| 1.4.0 | initial version |