-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
questionFurther information is requested. Stack Overflow candidateFurther information is requested. Stack Overflow candidate
Description
I am curious about how I can unit test the bot without using an emulator. Either it can be hosting the bot in unit test project with the in-memory server hosting or communicate the bot with Direct Line API. In both ways, the bot should run locally.
I can't host the bot with Microsoft.AspNetCore.Hosting in my test framework(if hosted, don't know what endpoint the bot communicates).
If I use the bot Startup class with WebHostBuilder in console app the bot is up and running at localhost:5000.
In Console App: IWebHostBuilder builder = new WebHostBuilder().UseStartup<EchoBot.Startup>()
Now how do I make call to bot?
Metadata
Metadata
Assignees
Labels
questionFurther information is requested. Stack Overflow candidateFurther information is requested. Stack Overflow candidate