behatch / notifiers
Behatch notifiers
Installs: 207
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 2
Open Issues: 1
pkg:composer/behatch/notifiers
Requires
- php: >=5.4
 - behat/behat: ~3.0
 
Requires (Dev)
- behat/mink-goutte-driver: ~1.1
 - behatch/contexts: dev-master
 - kherge/box: ~2.0
 
This package is auto-updated.
Last update: 2021-04-20 07:51:45 UTC
README
Behatch notifiers provide notifiers for behat.
Installation
$ composer require "behatch/notifiers"
For Slack notifier, additionally
$ composer require "maknz/slack"
Usage
In behat.yml, enable desired notifier:
default: suites: default: contexts: - Behatch\Notifier\Desktop - Behatch\Notifier\Campfire url: https://sample.campfirenow.com token: 605b32dd room: 1 - Behatch\Notifier\Slack url: https://hooks.slack.com/services/some-long/hook-url/goes-here spamTimeout: '10' prefix: 'Message Prefix' settings: {username: BehatBot, channel: '#general'}
Configuration
Desktop- notification through libnotify (notify-sendcommand)spamTimeout: default time between two notifications (60 secondes)icons: array of icons (sad, smile and error)
Campfire- notification over campfireurl,token,room: campfire configurationprefix: title prefixspamTimeout: default time between two notifications (60 secondes)icons: array of emoticons (sad, smile and error)
Slack- notification over slackurl: Slack webhook urlprefix: title prefixspamTimeout: default time between two notifications (60 secondes)settings: Slack message settings (array)attachment: Slack message attachment settings (array)