Hi.
I have a RootDialog which is invokes when the user sends first message.
The RootDialog invokes another dialog named: NRDialog, which presents a question to the user and then according to the user answer, returns a Contact object (I've created that object) to the RootDialog.
I want to write uni tests for my bot. Can you please explain me how should I start?
I've looked at : https://github.com/Microsoft/BotBuilder/tree/master/CSharp/Tests
and couldn't really unserstand how should I start..
Do I need to test each dialog separately or should I test them together on each optional flow?
Thanks.
Which package do I need to import to be able to inherit from DialogBaseTest?
Cause I didn't succeed doing that..
@AvishagCs DialogBaseTest can be found here: https://github.com/Microsoft/BotBuilder/blob/master/CSharp/Tests/Microsoft.Bot.Builder.Tests/DialogTestBase.cs
What's the best way to inherit DialogTestBase? I tried the simple way of just copying the file into my project, but then I needed to copy in a number of other files (FiberTests, MockConnectorFactory) which I wasn't able to build. Is there a better way than copying the class into a project and its dependencies?
I've developed an easy-to-use bot dialogs unit testing library - it's described here:
https://jakubcodes.wordpress.com/2018/01/24/bot-dialogs-unit-testing-using-stories-concept
Source code available on github:
https://github.com/ObjectivityLtd/Bot.Tests.Stories.Xunit
@EricDahlvang please, how can I use the DialogBaseTest in my project? The Microsoft.Bot.Builder.Tests namespace is not avaiable doesn`t metter how I call it. I need some specific nuget package to use it, or just the Microsoft.Bot.Builder itself?

I`am using the 3.15.2.2 version of bot builder
@WillRock19 Currently, you would need to clone the repo and reference the project in your solution.