Jaa


TestScript.DefaultTestAdapter Method

Definition

Build default test adapter.

public Microsoft.Bot.Builder.Adapters.TestAdapter DefaultTestAdapter (Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer resourceExplorer, string testName = default, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.IMiddleware> middlweare = default);
member this.DefaultTestAdapter : Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer * string * seq<Microsoft.Bot.Builder.IMiddleware> -> Microsoft.Bot.Builder.Adapters.TestAdapter
Public Function DefaultTestAdapter (resourceExplorer As ResourceExplorer, Optional testName As String = Nothing, Optional middlweare As IEnumerable(Of IMiddleware) = Nothing) As TestAdapter

Parameters

resourceExplorer
ResourceExplorer

Resource explorer to use.

testName
String

Name of test.

middlweare
IEnumerable<IMiddleware>

Middleware to add to the adapter.

Returns

Test adapter.

Applies to