cawolf/behat-cucumber-json-formatter 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

cawolf/behat-cucumber-json-formatter

最新稳定版本:v1.5.1

Composer 安装命令:

composer require cawolf/behat-cucumber-json-formatter

包简介

Behat extension for generating json reports

README 文档

README

release GitHub release (latest SemVer) GitHub

Behat Cucumber Json Formatter

Note: this is a fork of Vanare/behat-cucumber-formatter. As the original project seems unmaintained and there is no possibility to contact the owner, I publish the library under my handle. Many thanks to the original team of Vanare for starting this great library!

This is Behat extension for generating json reports for Cucumber Test Result Plugin which provides graphs over time and drill down to individual results using the standard Jenkins test reporting mechanism.

Requirements

  • PHP 7.3 or higher

  • Behat 3.x

Installation

Installation via Composer:

$ composer require --dev cawolf/behat-cucumber-json-formatter

Usage

Setup extension by specifying your behat.yml:

default:
    extensions:
        Vanare\BehatCucumberJsonFormatter\Extension:
            fileNamePrefix: report
            resultFilePerSuite: true
            outputDir: %paths.base%/build/tests

Then you can run:

bin/behat -f cucumber_json

Available options:

  • fileNamePrefix: Filename prefix of generated report
  • outputDir: Generated report will be placed in this directory
  • fileName (optional): Filename of generated report - current feature name will be used by default. Only applicable when resultFilePerSuite is not enabled.
  • resultFilePerSuite (optional): The default behaviour is to generate a single report named all.json. If this option is set to true, a report will be created per behat suite.

Licence

MIT Licence

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 22
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-07-14