TestScript.DefaultTestAdapter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.