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

skip_testsuite(true, 'Test skipped')

See also

test_run.

History

VersionDescription

1.4.0

initial version

Author

Allan CORNET

Last updated