I know version 3 of botbuilder SDK used the npm bot-tester module to send messages to the local bot, but I don't know if this will work for the newer version because you cannot create a UniversalBot to create those kinds of tests.
I am using Botframework V4 with Node.js, Mocha testing module, and Yarn package manager. I have successfully setup the test environment so I just call yarn test and the basic assertions I make (e.g. assert.equals(1,0,'this will not work);) run without unintended errors.
How can I implement testing the local bot while running on the emulator and/or local server?
Aucun commentaire:
Enregistrer un commentaire