Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Prerequisites

This extension requires:

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

Install with composer:

$ composer require miamioh/behat-CSVFormatter

Basic usage

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

# behat.yml
default:
    suites:
    ...

    extensions:
        miamioh\behat-CSVFormatter:
            filename: report.csv
            outputDir: %paths.base%/build/tests

    ...

Configuration

  • filename - filename
  • outputDir - dir to be created filename

(Optional Parameters)

  • columnList - Used as the header column of CSV output if write Method is Overwrite, can also be used to limit the columns that will be displayed in the output. (Default: Suite,Name,Tags,StartTime,EndTime,Duration,Status,StepName,ErrorMessage)
  • writeMethod - Append or Overwrite possible write methods (Default: Append )
  • delimiter - delimiter used to separate the fields of Output (Default: , )
  • enclosure - character used to denote the beginning and ending of the field (Default: ' )

About

An extension to format the output of Behat test runs in CSV format

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.