Download the PHP package friends-of-behat/mink-debug-extension without Composer
On this page you can find all versions of the php package friends-of-behat/mink-debug-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download friends-of-behat/mink-debug-extension
More information about friends-of-behat/mink-debug-extension
Files in friends-of-behat/mink-debug-extension
Package mink-debug-extension
Short Description Debug extension for Behat
License MIT
Homepage https://github.com/FriendsOfBehat/MinkDebugExtension
Informations about the package mink-debug-extension
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.
Installation
Assuming you already have Composer:
Then you only need to configure your Behat profile:
Configuration reference
Under FriendsOfBehat\MinkDebugExtension
there are three options to be configured:
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 yourbehat.yml
isscreenshot
(defaultfalse
) - whether to save screenshots if using supporting driverclean_start
(defaulttrue
) - whether to clean your existing logs on each Behat execution
Testing
In order to test the extensions run:
Authors
MinkDebugExtension was originally created by Kamil Kokot. See the list of contributors.