interface TestOptions {
    concurrent?: boolean;
    repeats?: number;
    retry?: number;
    sequential?: boolean;
    timeout?: number;
}

Hierarchy (view full)

Properties

concurrent?: boolean

Whether tests run concurrently. Tests inherit concurrent from describe() and nested describe() will inherit from parent's concurrent.

repeats?: number

How many times the test will run. Only inner tests will repeat if set on describe(), nested describe() will inherit parent's repeat by default.

Default

0
retry?: number

Times to retry the test if fails. Useful for making flaky tests more stable. When retries is up, the last test error will be thrown.

Default

0
sequential?: boolean

Whether tests run sequentially. Tests inherit sequential from describe() and nested describe() will inherit from parent's sequential.

timeout?: number

Test timeout.

Generated using TypeDoc