behatch/notifiers 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

behatch/notifiers

最新稳定版本:1.0.0

Composer 安装命令:

composer require behatch/notifiers

包简介

Behatch notifiers

README 文档

README

Build Status Scrutinizer Code Quality SensioLabsInsight

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-send command)
    • spamTimeout: default time between two notifications (60 secondes)
    • icons: array of icons (sad, smile and error)
  • Campfire - notification over campfire
    • url, token, room: campfire configuration
    • prefix: title prefix
    • spamTimeout: default time between two notifications (60 secondes)
    • icons: array of emoticons (sad, smile and error)
  • Slack - notification over slack
    • url: Slack webhook url
    • prefix: title prefix
    • spamTimeout: default time between two notifications (60 secondes)
    • settings: Slack message settings (array)
    • attachment: Slack message attachment settings (array)

统计信息

  • 总下载量: 207
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: beerware
  • 更新时间: 2015-04-17