friends-of-behat/mink-debug-extension
最新稳定版本:v2.1.0
Composer 安装命令:
composer require friends-of-behat/mink-debug-extension
包简介
Debug extension for Behat
README 文档
README
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:
composer require friends-of-behat/mink-debug-extension
Then you only need to configure your Behat profile:
default: extensions: FriendsOfBehat\MinkDebugExtension: directory: directory-where-to-save-logs
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.ymlisscreenshot(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:
composer install bin/behat --strict
Authors
MinkDebugExtension was originally created by Kamil Kokot. See the list of contributors.
统计信息
- 总下载量: 4.95M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 207
- 点击次数: 1
- 依赖项目数: 289
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04