0.0.1 • Published 6 years ago

cucumberjs-slack-bot v0.0.1

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

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