Naively Programmable Module

    cucumberjs-slack-bot

    0.0.1 • Public • Published

    Protractor/Cucumber Slack Notification Tool

    Simple JSON parser and slack notification bot. Designed to be used with a Slack Web API endpoint.

    Getting Started

    Install Dependencies

    npm install
    

    Prerequisites

    Designed for a specific use-case. If you are using Protractor with CucumberJS and Slack, you might find this tool useful.

    This tool requires a Slack Web API endpoint. Read More

    Installing

    To use simply require the module:

    const slackBot = require('./bot');
    

    Define your Slackbot configuratoin options:

    const slackBotOptions = {
      githubAccount: '[your account name: string]',
      githubRepo: '[your repo name: string]',
      cucumberJSON: '[filepath of Protractor JSON output: string]',
      slackEndpoint: 'https://hooks.slack.com/services/your/endpoint'
    }
    

    Then call the function:

    slackBot.newSlackNotification(slackBotOptions);
    

    Built With

    Contributing

    Submit a PR on the github repo

    Authors

    License

    This project is licensed under the MIT License - see the LICENSE.md file for details

    Install

    npm i cucumberjs-slack-bot

    DownloadsWeekly Downloads

    22

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • tabuckner