Skip to main content

TestSettings

@webda/test


Interface: TestSettings

Defined in: core.ts:57

Settings accepted by the @test decorator.

Extends​

  • SharedSettings

Properties​

execution?​

optional execution?: Execution

Defined in: core.ts:41

Define the execution strategy for the test.

Inherited from​

SharedSettings.execution


instance?​

optional instance?: any

Defined in: core.ts:59

Pre-created instance to use instead of constructing a fresh one per test.


name?​

optional name?: string

Defined in: core.ts:45

A name for the suite or test. If not provided the class or method name will be used.

Inherited from​

SharedSettings.name


retries?​

optional retries?: number

Defined in: core.ts:37

Number of times to retry a failed test. (Mocha only)

Inherited from​

SharedSettings.retries


slow?​

optional slow?: number

Defined in: core.ts:29

"slow" threshold in milliseconds.

Inherited from​

SharedSettings.slow


timeout?​

optional timeout?: number

Defined in: core.ts:33

Timeout in milliseconds.

Inherited from​

SharedSettings.timeout