SuiteContext

external class SuiteContext(source)

An instance of SuiteContext is passed to each suite function in order to interact with the test runner. However, the SuiteContext constructor is not exposed as part of the API.

Since

v18.7.0, v16.17.0

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The absolute path of the test file that created the current suite. If a test file imports additional modules that generate suites, the imported suites will return the path of the root test file.

Link copied to clipboard

The name of the suite.

Link copied to clipboard
val signal: <Error class: unknown class>

Can be used to abort test subtasks when the test has been aborted.