承接 alom/journal-extension 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

统计信息

  • 总下载量: 110.4k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-06-25