Skip to content
This repository has been archived by the owner. It is now read-only.

dizzy7/behat-junit-formatter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

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.