-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to test my own dialogs in botbuilder-unit? #5
Comments
Hi, You can test a standalone dialog by specifying a dialog function or a watterfall in the form of array. The library produce a UniversalBot class instance and registers the given dialog with path = "/" Also you could pass an instance of UniversalBot class. In that case, the library will not produce a testing bot instance. This option also allows to test conversation between user and the bot from end to end best regards, |
What did I mean 're-writing the dialog'
What am I asking ? |
no, you don't no need to re-write, you could pass the same dialog |
Is there a way you can help with the syntax. |
@gudwin did you get chance to review my comment? |
Yeah, I'm adding your case as example into the library. I'll commit a release soon and will leave comment here too |
Hello,
I am looking at timmy.js where I see in order to test conversation flow mentioned in script array a new dialog '/' has been defined. I was wondering what if I need to test my dialog from my Bot app.
Ex: I have following dialog which triggers by LUIS intent help/
I don't want re-write this dialog as shows in timmy.js.
The text was updated successfully, but these errors were encountered: