Closed slvnperron closed 4 years ago
Adding this advice here not to forget when we'll get to this task.
you can use any regular unit testing library such as mocha to write unit tests for your bot. If you want to test that messages get sent/received, I suggest that you look into writing a custom outgoing middleware https://help.botpress.io/t/testing-chatbots/44
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@slvnperron , @rndlaine , @EFF , I'm not sure stale bot does good job closing issues like this. Do you think that makes sense?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
It would be nice to be able to Unit Test the bots behavior. This is mostly for enterprise clients.