PHPackages                             behat/common-formatters - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. behat/common-formatters

AbandonedArchivedBehat-extension

behat/common-formatters
=======================

Commonly used formatters for Behat

v1.2.0(12y ago)2284.5k↑50%111MITPHPPHP &gt;=5.3.2

Since Oct 22Pushed 1y ago6 watchersCompare

[ Source](https://github.com/Behat/CommonFormatters)[ Packagist](https://packagist.org/packages/behat/common-formatters)[ Docs](http://behat.org/)[ RSS](/packages/behat-common-formatters/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (2)Used By (1)

CommonFormatters Behat extension
================================

[](#commonformatters-behat-extension)

This package is abandoned
-------------------------

[](#this-package-is-abandoned)

This package (which was never updated for Behat v3.x) is now abandoned and will not receive further updates.

[![Build Status](https://camo.githubusercontent.com/546470b24ff6d2189fff844016302a7ed760a27972696d500baa8caf49776efb/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f42656861742f436f6d6d6f6e466f726d6174746572732e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/Behat/CommonFormatters)

An aggregation of extra formatters for Behat supposed to be used commonly.

Installation
------------

[](#installation)

See

Formatters that distinguish between an error and a failure in terms of xUnit's notion
-------------------------------------------------------------------------------------

[](#formatters-that-distinguish-between-an-error-and-a-failure-in-terms-of-xunits-notion)

See [Behat/Behat#111](https://github.com/Behat/Behat/issues/111)

- A failed step is the equivalent of an error in xUnit.
- A false step is the equivalent of a failure in xUnit (colored magenta by the formatters).
- Actually a false step is a failed step too, it is just a fine-grained interpretation of a failed step (complementarily there can be non-false steps among failed steps).

### ProgressWithFalseStepsFormatter

[](#progresswithfalsestepsformatter)

[![ProgressWithFalseStepsFormatter](https://github.com/Behat/CommonFormatters/raw/master/doc/progress_with_false_steps_formatter.png "ProgressWithFalseStepsFormatter")](https://github.com/Behat/CommonFormatters/raw/master/doc/progress_with_false_steps_formatter.png)

### PrettyWithFalseStepsFormatter

[](#prettywithfalsestepsformatter)

[![PrettyWithFalseStepsFormatter](https://github.com/Behat/CommonFormatters/raw/master/doc/pretty_with_false_steps_formatter.png "PrettyWithFalseStepsFormatter")](https://github.com/Behat/CommonFormatters/raw/master/doc/pretty_with_false_steps_formatter.png)

### HtmlWithFalseStepsFormatter

[](#htmlwithfalsestepsformatter)

[![HtmlWithFalseStepsFormatter](https://github.com/Behat/CommonFormatters/raw/master/doc/html_with_false_steps_formatter.png "HtmlWithFalseStepsFormatter")](https://github.com/Behat/CommonFormatters/raw/master/doc/html_with_false_steps_formatter.png)

Formatter that dumps the most important information about a suite run as JSON
-----------------------------------------------------------------------------

[](#formatter-that-dumps-the-most-important-information-about-a-suite-run-as-json)

### JsonFormatter

[](#jsonformatter)

```
{
  date: "2012-11-20: 14:55:31",
  features: [
    {
      "title": "A feature",
      "desc": null,
      "tags": [
        "foo"
      ],
      "result": "passed",
      "scenarios": [
        {
          "title": "A scenario",
          "isOutline": false,
          "tags": [
            "bar"
          ],
          "result": "passed",
          "steps": [
            {
              "text": "some precondition",
              "type": "Given",
              "isBackground": false,
              "result": "passed"
            },
            {
              "text": "some action",
              "type": "When",
              "isBackground": false,
              "result": "passed"
            },
            {
              "text": "some outcome",
              "type": "Then",
              "isBackground": false,
              "result": "passed"
            }
          ]
        }
      ]
    }
  ]
}

```

Formatter that adds a new line to a CSV file for each suite run
---------------------------------------------------------------

[](#formatter-that-adds-a-new-line-to-a-csv-file-for-each-suite-run)

### CsvStatisticsFormatter

[](#csvstatisticsformatter)

```
execution date,total execution time,number of features,number of features with failures,number of scenarios,number of scenarios with failures,number of steps,number of failed steps
Fri 30 Mar 2012 11:36:57,2m44.987s,2,1,39,2,155,2

```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4591d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/476d727233ff2dac30a4eedd8359b1eb3a87215ae224b3566c554bf0b203410b?d=identicon)[headrevision](/maintainers/headrevision)

---

Top Contributors

[![headrevision](https://avatars.githubusercontent.com/u/947622?v=4)](https://github.com/headrevision "headrevision (54 commits)")[![robsquires](https://avatars.githubusercontent.com/u/616321?v=4)](https://github.com/robsquires "robsquires (4 commits)")[![acoulton](https://avatars.githubusercontent.com/u/416566?v=4)](https://github.com/acoulton "acoulton (2 commits)")[![everzet](https://avatars.githubusercontent.com/u/30813?v=4)](https://github.com/everzet "everzet (1 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (1 commits)")

---

Tags

BDDBehat

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/behat-common-formatters/health.svg)

```
[![Health](https://phpackages.com/badges/behat-common-formatters/health.svg)](https://phpackages.com/packages/behat-common-formatters)
```

###  Alternatives

[behat/gherkin

Gherkin DSL parser for PHP

1.1k176.3M97](/packages/behat-gherkin)[polishsymfonycommunity/symfony-mocker-container

Provides base Symfony dependency injection container enabling service mocking.

1468.0M237](/packages/polishsymfonycommunity-symfony-mocker-container)[sensiolabs/behat-page-object-extension

Page object extension for Behat

1166.5M27](/packages/sensiolabs-behat-page-object-extension)[laracasts/behat-laravel-extension

Laravel extension for Behat

2611.3M12](/packages/laracasts-behat-laravel-extension)[dvdoug/behat-code-coverage

Generate Code Coverage reports for Behat tests

593.6M37](/packages/dvdoug-behat-code-coverage)[bex/behat-extension-driver-locator

Driver locator tool for behat extensions

385.2M4](/packages/bex-behat-extension-driver-locator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
