@naktibalda/botium-connector-botkit-websocket

0.0.7 • Public • Published

Botium Connector for Botkit over websockets

This is a Botium connector for testing your Botkit chatbot over websockets.

How it works ?

Botium uses the Botkit Anywhere to connect to your chatbot.

It can be used as any other Botium connector with all Botium Stack components:

Requirements

  • Node.js and NPM
  • a Botkit Anywhere Server
  • a project directory on your workstation to hold test cases and Botium configuration

Install Botium and Botkit Connector

When using Botium CLI:

> npm install -g botium-cli
> npm install -g @Naktibalda/botium-connector-botkit-websocket
> botium-cli init
> botium-cli run

When using Botium Bindings:

> npm install -g botium-bindings
> npm install -g @Naktibalda/botium-connector-botkit-websocket
> botium-bindings init mocha
> npm install && npm run mocha

When using Botium Box:

TODO

Connecting your Botkit server to Botium

Open the file botium.json in your working directory and add the Botkit chatbot connection settings.

{
  "botium": {
    "Capabilities": {
      "PROJECTNAME": "<whatever>",
      "CONTAINERMODE": "@naktibalda/botium-connector-botkit-websocket",
      "BOTKIT_SERVER_URL": "..."
    }
  }
}

Botium setup is ready, you can begin to write your BotiumScript files.

Supported Capabilities

Set the capability CONTAINERMODE to @naktibalda/botium-connector-botkit-websocket to activate this connector.

BOTKIT_SERVER_URL

The Botkit server url (without any path, just http/https, servername, port)

Readme

Keywords

Package Sidebar

Install

npm i @naktibalda/botium-connector-botkit-websocket

Weekly Downloads

0

Version

0.0.7

License

MIT

Unpacked Size

22 kB

Total Files

11

Last publish

Collaborators

  • naktibalda