Skip to main content

Namespace: Test

dg.Test

Autotest-related helpers

Variables

isInBenchmark

isInBenchmark: boolean = false

Specifies whether the TestManager works in benchmark on unit test mode. This is controlled by the TestManager's "Benchmark" check box.

Use this variable in the individual tests to control whether it runs as a quick unit test (for instance, set small number of iterations) or a benchmark (set big number of iterations).

Results of the benchmarks, including time, are captured during the overnight automated testing and are reported to the metrics database. This allows to identify performance regressions, compare how fast tests perform under different conditions, etc.

Defined in

src/utils.ts:699

Functions

getInputTestDataGeneratorByType

getInputTestDataGeneratorByType(inputType): any

Parameters

NameType
inputTypestring

Returns

any

Defined in

src/utils.ts:705


getTestDataGeneratorByType

getTestDataGeneratorByType(type): any

Parameters

NameType
typestring

Returns

any

Defined in

src/utils.ts:701