2017 © Pedro Peláez
 

library notifier

Notification Extension for Codeception

image

codeception/notifier

Notification Extension for Codeception

  • Wednesday, February 14, 2018
  • by davert
  • Repository
  • 5 Watchers
  • 15 Stars
  • 5,401 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 1 Open issues
  • 2 Versions
  • 8 % Grown

The README.md

Notifier

This repository demonstrates the usage of Codeception Extension API. Check it's source code to write your own extensions., (*1)

Notification Extensions for Codeception

Extensions from this package that can be included in Codeception to receive notification of test results., (*2)

This notifications are limited to just a few basic examples. It is recommended to get it forked and patched for your actual needs., (*3)

Notifcation are made via notificatior library by NAMSHI., (*4)

Installation

Install this package, (*5)

composer require codeception/notifier --dev

Enable extensions in codeception.yml configuration:, (*6)

Sample:, (*7)

``` yaml paths: tests: tests log: tests/_log data: tests/_data helpers: tests/_helpers extensions: enabled: # enable ubuntu notifications - Codeception\Extension\UbuntuNotifier # extension class name, (*8)

  # enable email notifications
  - Codeception\Extension\EmailNotifier:
      email: tests@company.com

## Ubuntu Notifications Class: **Codeception\Extension\UbuntuNotifier**. A basic `notify-send` wrapper of Notificator can be used to send notifications in Ubuntu. Done via notificator's NotifySend handler. Can be dynamically started (without adding to config) by providing `--ext UbuntuNotifier` option:

./vendor/bin/codecept run --ext UbuntuNotifier, (*9)


## Email Notification Class: **Codeception\Extension\EmailNotifier** Unlike Ubuntu Notification this extension also takes extra parameter from config `codeception.yml`: ``` yaml extensions: - Codeception\Extension\EmailNotifier: address: tests@company.com

This email will be used to send notifications., (*10)


The Versions

14/02 2018

dev-master

9999999-dev http://codeception.com/

Notification Extension for Codeception

  Sources   Download

MIT

The Requires

 

The Development Requires

tdd unit testing functional testing acceptance testing notification

14/02 2018

0.1.0

0.1.0.0 http://codeception.com/

Notification Extension for Codeception

  Sources   Download

MIT

The Requires

 

The Development Requires

tdd unit testing functional testing acceptance testing notification