2017 © Pedro Peláez
 

behat-extension mink-debug-extension

Debug extension for Behat

image

lakion/mink-debug-extension

Debug extension for Behat

  • Thursday, October 27, 2016
  • by pjedrzejewski
  • Repository
  • 11 Watchers
  • 59 Stars
  • 215,190 Installations
  • PHP
  • 84 Dependents
  • 0 Suggesters
  • 7 Forks
  • 5 Open issues
  • 10 Versions
  • 13 % Grown

The README.md

MinkDebugExtension

MinkDebugExtension is a Behat extension made for debugging and logging Mink related data after every failed step. It is especially useful while running tests on continuous integration server like Travis. While using appropriate driver, you can also save screenshots just after the failure., (*1)

Installation

Assuming you already have Composer:, (*2)

composer require friends-of-behat/mink-debug-extension

Then you only need to configure your Behat profile:, (*3)

default:
    extensions:
        FriendsOfBehat\MinkDebugExtension:
            directory: directory-where-to-save-logs

Configuration reference

Under FriendsOfBehat\MinkDebugExtension there are three options to be configured:, (*4)

  • directory (required to enable extension) - contains path to directory that will contain generated logs. Use the variable %paths.base% to refer to the directory where your behat.yml is
  • screenshot (default false) - whether to save screenshots if using supporting driver
  • clean_start (default true) - whether to clean your existing logs on each Behat execution

Testing

In order to test the extensions run:, (*5)

composer install
bin/behat --strict

Authors

MinkDebugExtension was originally created by Kamil Kokot. See the list of contributors., (*6)

The Versions

27/10 2016

dev-master

9999999-dev https://github.com/Lakion/MinkDebugExtension

Debug extension for Behat

  Sources   Download

MIT

The Requires

 

The Development Requires

debug logging behat mink

27/10 2016
20/07 2016
20/07 2016