PHP code example of seretos / behat-json-formatter
1. Go to this page and download the library: Download seretos/behat-json-formatter library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
seretos / behat-json-formatter example snippets
bash
php vendor/bin/behat-json behat:merge:result --jsonDir=./artifacts1 \
--jsonDir=./artifacts2 \
--pattern="/[\w]*php71/" \
--output=result.json
bash
php vendor/bin/behat-json behat:validate:result --json=./result.json \
--featureDir=./features