New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

custody

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

custody

e2e testing for chatbots

  • 0.1.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

Custody

of naughty chatbots!

Custody logo

E2E test framework for your conversational bot.
Supports Messenger, Slack, more ? Bots are everywhere, and they need to behave!

Build Status npm version Coverage Status Dependency status Dev Dependencies Status

Getting Started


Visit Custody Website for all documentation.

For a quick setup and run:

Installation

$ npm i -g custody

Basic Usage


$ custody --platform=slack --framework=jasmine --token=xoxp-123-123 --specs=test/**/* --defaultRecipient=C928721

// test/sample.tests.js
describe('This is a sample test', () => {
    it('Sample test 1', () => {
        csty.postMessage('Hello?');
        csty.waitForResponseToBe('World!');
        expect(csty.getLastMessage()).toEqual(
            jasmine.objectContaining({
                payload: {
                    body: 'World!'
                }
            })
        );
    });
});

Keywords

FAQs

Package last updated on 22 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc