Skip to content

Vanare/behat-cucumber-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unfortunately, the project is not supported anymore.

Behat Cucumber Json Formatter

Build Status

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 5.5.x or higher

  • Behat 3.x

Installation

Installation via Composer:

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

Usage

Setup extension by specifying your behat.yml:

default:
    extensions:
        Vanare\BehatCucumberJsonFormatter\Extension:
            filename: report.json
            outputDir: %paths.base%/build/tests

Then you can run:

bin/behat -f cucumber_json

Available options:

  • filename: Filename of generated report
  • outputDir: Generated report will be placed in this directory

Licence

MIT Licence