承接 7170/slack-codeception-extension 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

7170/slack-codeception-extension

Composer 安装命令:

composer require 7170/slack-codeception-extension

包简介

This package provides an extension for Codeception to broadcast test results in Slack messenger

README 文档

README

This package provides an extension for Codeception to send test results to Slack channels and/or users.

Pre-requisites

Installation

Add the package 7170/slack-codeception-extension to composer.json manually or type this in console:

composer require 7170/slack-codeception-extension

Usage

Enable and configure the extension in your codeception.yaml

Basic usage:

extensions:
  enabled:
    - Codeception\Extension\SlackExtension
config:
  Codeception\Extension\SlackExtension:
     webhook: https://hooks.slack.com/services/...

Advanced usage:

extensions:
   enabled:
     - Codeception\Extension\SlackExtension
config:
    Codeception\Extension\SlackExtension:
       webhook:           https://hooks.slack.com/services/...
       
       # possible notification strategies: always|successonly|failonly|failandrecover|statuschange
       strategy:          always
       
       # If 'true' details about failed tests will be displayed. Default value: 'false'
       extended:          true
       
       # Limit the size of error messages in extended mode. 0 = unlimited. Default value: 80
       extendedMaxLength: 80
       
       # customize your message with additional prefix and/or suffix
       
       messagePrefix:     '*Smoke-Test*'
       messageSuffix:     <http://my-ci/my-job|Link>
       messageSuffixOnFail: <!channel>
       
       # optional config keys that will overwrite the default configuration of the webhook
                  
       channel:           '#any-channel,@any-user'
       channelOnFail:     '#any-channel,@any-user'
       username:          CI
       icon:              :ghost:

Example

slack-example

Dependencies

This package uses the package maknz/slack to communicate with the Slack API.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2018-03-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固