/behat-dashboard-notifier

This Behat extension to allow sending email notifications to any endpoint

Primary LanguagePHPMIT LicenseMIT

Behat Dashboard Notifier Extension

This Behat extension integrates with Behat Notifier to allow sending payload of Behat notifications to a Automation Dashboard.

Installation

Install by adding to your composer.json:

composer require --dev marcelovani/behat-dashboard-notifier

Configuration

Enable the extension in behat.yml like this:

The configuration goes in the Marcelovani\Behat\Notifier extension, under notifiers

default:
  extensions:
    Marcelovani\Behat\Notifier:
      notifiers:
        Marcelovani\Behat\Notifier\Dashboard\DashboardNotifier:
          url: 'https://www.foo.bar'

Extending

It is possible to extend this class by implementing your own class and listing it on the notifiers list instead of the default class.

Todo

  • Use Guzzle instead of php curl
  • Add example Features and Unit tests
  • Add Github actions
  • List package on https://packagist.org/