dalamar/codeception-desktop-notifier

Desktop Notification Extension for Codeception

dev-master 2019-08-08 14:25 UTC

This package is auto-updated.

Last update: 2024-04-09 00:52:57 UTC


README

This repository demonstrates the usage of Desktop Codeception Extension API. Check it's source code to write your own extensions.

Desktop Notification Extensions for Codeception

Extensions from this package that can be included in Codeception to receive notification of test results.

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

Notifcation are made via jolinotif library by JoliCode .

Installation

Install this package

composer require dalamar/codeception-desktop-notifier --dev

Enable extensions in codeception.yml configuration:

Sample:

paths:
    tests: tests
    log: tests/_log
    data: tests/_data
    helpers: tests/_helpers
extensions:
    enabled:
      # enable desktop notifications
      - Dalamar\Codeception\Extension\DesktopNotifier # extension class name

If you are anything like me and executing tests from within vagrant VM, then you may want to proxy notifications from virtual to host machine.

To do that you need to install vagrant plugin vagrant-notify and follow the instructions.