slashrsm/behat-screenshot
最新稳定版本:1.0
Composer 安装命令:
composer require --dev slashrsm/behat-screenshot
包简介
Screenshot extension for behat
README 文档
README
Imporves screenshots functionality of Behat. Can automatically create screenshots after failed or all steps.
Quick start
-
Install using Composer:
curl -sS https://getcomposer.org/installer | php php composer.phar require slashrsm/behat-screenshot='~1.0'
-
In the
behat.ymladd configuration for screenshot extension. Extenstion comes with three configuration variables, which are pretty self explanatory:
... extensions: slashrsm\screenshot\ScreenshotExtension: enabled_always: false enabled_on_fail: true screenshot_path: '/path/to/screenshots'
- In the
behat.ymladd ScreenshotContext to the contexts section:
... contexts: ... - slashrsm\screenshot\ScreenshotExtension\Context\ScreenshotContext
统计信息
- 总下载量: 1.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2015-11-20