dizzy7/behat-junit-formatter

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (1.2.1) of this package.

Behat 3 JUnit xml formatter

1.2.1 2016-02-04 09:22 UTC

This package is not auto-updated.

Last update: 2023-08-19 12:06:48 UTC


README

Prerequisites

This extension requires:

  • PHP 5.3.x or higher
  • Behat 3.x or higher

Install with composer:

$ composer require --dev dizzy7/behat-junit-formatter

Basic usage

Activate the extension by specifying its class in your behat.yml:

# behat.yml
default:
    suites:
    ...

    extensions:
        dizzy7\JUnitFormatter\JUnitFormatterExtension:
            filename: report.xml
            outputDir: %paths.base%/build/tests
    ...

Configuration

  • filename - filename (not used if realtime flag is on)
  • outputDir - dir to be created filename

you also could use BEHAT_JUNIT_FILENAME and BEHAT_JUNIT_OUTPUTDIR env variables

Issue Submission

Feel free to Create a new issue.

Thanks to

Thanks to emuse html extension that inspired me to created this one.