Reputation: 31
I am using the Microsoft Bot Framework to create a bot in NodeJs.
I manually tested the bot with the Bot Emulator, but I'm looking for the best method to automate testing for the bot.
Does Microsoft provide any tool for automatically running test or are there any other methods which can support the bot to be test automatically?
Can anyone help me out with this?
Upvotes: 3
Views: 292
Reputation: 5065
You could have a look at https://github.com/jvanderbiest/directline-jabber
DirectLine-Jabber focusses on automated integration testing for the Microsoft BotFramework. Using your BotFramework emulator transcript files it will check if your bot responds as it is supposed to respond.
You can use the emulator to create a chat conversation, then save the transcript, deploy your bot and replay it to your deployed bot instance.
Upvotes: 0
Reputation: 1204
Here's a handy link if you're looking for Node: https://github.com/microsoftly/BotTester
Upvotes: 1