Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

nightwatch-slack-reporter

Package Overview
Dependencies
2
Maintainers
1
Versions
2
Issues
File Explorer

Advanced tools

nightwatch-slack-reporter

Notifies Nightwatch.js reports to Slack

    0.0.2latest
    GitHub

Version published
Maintainers
1
Weekly downloads
153
decreased by-44.96%

Weekly downloads

Readme

Source

nightwatch-slack-reporter

Travis CI npm

A Nightwatch.js reporter that notifies results to Slack

Install

npm install --save-dev nightwatch-slack-reporter

Usage

Using Built in Nightwatch reporter

// globals.js module.exports = { reporter: (require('nightwatch-slack-reporter')(options)) }

Using Command Line Options

nightwatch --reporter node_modules/nightwatch-slack-reporter/lib/reporter.js

Options

You can configure Slack reporter options in test globals or configuration file.

options = { slack_message: function(results, options) { // function or message string return { text: 'Test completed, passed ' + results.passed + ', failed ' + results.failed, username: 'Nightwatch', icon_emoji: ':ghost:' } // Message payload or string }, slack_webhook_url: 'https://hooks.slack.com/services/...' // This can be specified with SLACK_WEBHOOK_URL environment variable }

Author

Atsushi Nagase

License

MIT License

Keywords

FAQs

Last updated on 15 Sep 2016

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc