alom/journal-extension
最新稳定版本:v0.2.0
Composer 安装命令:
composer require alom/journal-extension
包简介
Behat extension adding screenshots to HTML reports
README 文档
README
This extension provides a HTML format for Behat with screenshots.
Installation
Add it to your composer.json:
{
"require": {
"alom/journal-extension": "dev-master"
}
}
Configure behat.yml:
default: extensions: Behat\JournalExtension\Extension: driver: mink # available: mink, webdriver capture_all: true # defaults to false to only capture on failure
Launch your test suite with format journal:
$ bin/behat -f journal --out journal.html [feature, ...]
This command will produce a file journal.html containing the HTML standard
output with additional screenshots.
Screenshot files will be placed in the same folder as the main output file. Any old screenshots are removed from the output folder first.
To get another progress on screen while journal report is being generated, use behat.yml:
formatter: name: journal,pretty parameters: output_path: wwwdocs/features/index.html,null
To work, you have to use proper extension for it. Supported are:
- PHP WebDriver
- Mink (with SeleniumDriver or Selenium2Driver)
统计信息
- 总下载量: 110.4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-06-25