Edit

Share via


TestUtils class

In charge of running Dialog Adaptive tests.

Methods

runTestScript(ResourceExplorer, string, TestAdapter, Record<string, string>, Middleware[])

Runs a test script with the specified name.

Method Details

runTestScript(ResourceExplorer, string, TestAdapter, Record<string, string>, Middleware[])

Runs a test script with the specified name.

static function runTestScript(resourceExplorer: ResourceExplorer, testName?: string, adapter?: TestAdapter, configuration?: Record<string, string>, middlewares: Middleware[]): Promise<void>

Parameters

resourceExplorer

ResourceExplorer

Resource explorer used in test.

testName

string

Test name.

adapter

TestAdapter

Test adapter.

configuration

Record<string, string>

Test configuration.

middlewares

Middleware[]

Middlewares to be added in test.

Returns

Promise<void>