0.1.7 • Published 5 years ago

zhenshuo-botium-connector-botkit-websocket v0.1.7

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

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 botium-connector-botkit-websocket
> botium-cli init
> botium-cli run

When using Botium Bindings:

> npm install -g botium-bindings
> npm install -g 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": "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 botium-connector-botkit-websocket to activate this connector.

BOTKIT_SERVER_URL

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

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago