vanare / behat-cucumber-json-formatter
Behat extension for generating json reports
v1.1.3
2018-02-24 16:04 UTC
Requires
- php: >=5.5.0
- behat/behat: ~3.0
Requires (Dev)
- mikey179/vfsstream: 1.6.0
- phpunit/phpunit: 4.*
This package is not auto-updated.
Last update: 2024-11-13 19:20:09 UTC
README
Behat Cucumber Json Formatter
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 reportoutputDir
: Generated report will be placed in this directory
Licence
MIT Licence