bwannduke/behat-twig-report-extension
Composer 安装命令:
composer require bwannduke/behat-twig-report-extension
包简介
Create Behat 3 test reports with Twig templates
README 文档
README
Create Behat 3 test reports with Twig templates
About
This extension provides an easy way to create reports of your test runs. It uses Twig for templating.
It term "report" in the extension name is deliberate as the output file will be created after all tests are processed.
An example can be found here
Installation
In your composer.json add
{
"require": {
...
"chartinger/behat-twig-report-extension": "*@dev"
}
}
and update your dependencies
Usage
To activate this extension add this to your behat.yml
default: extensions: chartinger\Behat\TwigReportExtension\Extension: output: file: ./output/index.html
Configuration
You can confgure the templates as well as the output file.
default: extensions: chartinger\Behat\TwigReportExtension\Extension: templates: dir: /path/to/templates file: yourtemplate.twig output: file: ./output/index.html
Known Issues / Limitations
- No output of exact errors
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-07-18
