简体   繁体   English

Botium是否有Slack连接器?

[英]Is there a Slack connector for Botium?

From the documentation of "Container mode", it seems like Slack is supported: "...while the Chatbot operates as if it is connected to the Facebook Messenger Platform, to the Microsoft Bot Framework, or to the Slack API." 从“容器模式”的文档中,似乎支持Slack:“ ...当Chatbot运行时,就好像它已连接到Facebook Messenger平台,Microsoft Bot Framework或Slack API一样。” However, I've been unable to find any specific reference to a Slack connector. 但是,我一直找不到对Slack连接器的任何特定引用。 Our product is a bot accessible through Slack. 我们的产品是可通过Slack访问的机器人。 We're experimenting with Botium for direct API testing through the Simplerest connector, but would like to test end-to-end through the Slack interface if it exists. 我们正在通过Botium进行试验,以通过Simplerest连接器进行直接API测试,但希望通过Slack接口进行端到端测试(如果存在)。 If not, are there plans for developing one? 如果没有,是否有开发计划?

There is one sample available ( https://github.com/codeforequity-at/botium-core/tree/master/samples/connectors/docker/slack ), and the Botium capabilities are described in the Wiki ( https://github.com/codeforequity-at/botium-core/wiki/Operation-Mode-docker ). 有一个示例可用( https://github.com/codeforequity-at/botium-core/tree/master/samples/connectors/docker/slack ),并且Botium功能在Wiki中有所描述( https:// github .com / codeforequity-at / botium-core / wiki / Operation-Mode-docker )。 It is not E2E-Testing, it's more a system test - when using Botium like this, your Slack bot is never connected to the Slack servers, everything is intercepted by Botium. 这不是E2E测试,而是系统测试-当使用Botium时,您的Slack僵尸程序永远不会连接到Slack服务器,一切都会被Botium拦截。 If you alread have an API Test with the HTTP/JSON connector in place, then it possibly won't add much to your test strategy. 如果您已经使用HTTP / JSON连接器进行API测试,那么它可能不会对您的测试策略增加太多。

For E2E-Testing, Botium has a connector providing a framework for running Selenium and Appium tests on websites hosting a chatbot: https://github.com/codeforequity-at/botium-connector-webdriverio - never tried myself, but I guess it could be used for testing a Slack bot in the Slack ui as well. 对于E2E测试,Botium提供了一个连接器,该连接器提供了一个框架,可在托管聊天机器人的网站上运行Selenium和Appium测试: https : //github.com/codeforequity-at/botium-connector-webdriverio-从未尝试过自己,但我想也可以用于在Slack ui中测试Slack机器人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM