PHPackages                             miamioh/behat-sensu-formatter - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. miamioh/behat-sensu-formatter

ActiveLibrary[Testing &amp; Quality](/categories/testing)

miamioh/behat-sensu-formatter
=============================

Package created to allow behat tests to be used within the sensu monitoring framework

v0.6.1(8y ago)051PHPPHP &gt;=7.0

Since Dec 20Pushed 8y ago7 watchersCompare

[ Source](https://github.com/MiamiOH/Behat-SensuFormatter)[ Packagist](https://packagist.org/packages/miamioh/behat-sensu-formatter)[ RSS](/packages/miamioh-behat-sensu-formatter/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

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

[](#installation)

### Prerequisites

[](#prerequisites)

This extension requires:

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

#### Install with composer:

[](#install-with-composer)

```
$ composer require miamioh/behat-sensu-formatter
```

Basic usage
-----------

[](#basic-usage)

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

```
# behat.yml
default:
    suites:
    ...

    extensions:
      miamioh\BehatSensuFormatter\BehatSensuFormatterExtension: ~
    ...

```

Then add it as a formatter in your `behat.yml` :

```
#behat.yml
  ...
  formatters:
    SensuFormatter: ~
  ...

```

Metric Check Type
-----------------

[](#metric-check-type)

If the check is going to be a metric check there is a change that needs to be made and another one that could be made depending on the check.

```
#behat.yml
  ...
  extensions:
    miamioh\BehatSensuFormatter\BehatSensuFormatterExtension:
      checkType: 'metric'
  ...

```

This will add 3 lines of metrics to the output:

```
  behat.tests.run 2 1515546664
  behat.tests.passed 2 1515546664
  behat.tests.failed 0 1515546664
  OK: All 2 tests passed

```

The Description of the metric, the value of the metric and the timestamp the metric was created. This information can then be used by Graphite to show a chart of passed and failed tests.

Additionally you could add the metricPreface parameter to your yml file to preface the metric name with specific information about the test run.

and another one that could be made depending on the check. so maybe `metricPreface: 'test.myapp'` or something like `metricPreface: 'test.chrome.myapp'` if you wanted to collet all your test metrics when the test is run against chrome vs maybe safari. when this preface is added then the output would be

```
  test.chrome.myapp.behat.tests.run 2 1515546664
  test.chrome.myapp.behat.tests.passed 2 1515546664
  test.chrome.myapp.behat.tests.failed 0 1515546664
  OK: All 2 tests passed

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Every ~6 days

Total

4

Last Release

3093d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/325242?v=4)[Don Kidd](/maintainers/donkidd)[@donkidd](https://github.com/donkidd)

---

Top Contributors

[![donkidd](https://avatars.githubusercontent.com/u/325242?v=4)](https://github.com/donkidd "donkidd (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/miamioh-behat-sensu-formatter/health.svg)

```
[![Health](https://phpackages.com/badges/miamioh-behat-sensu-formatter/health.svg)](https://phpackages.com/packages/miamioh-behat-sensu-formatter)
```

###  Alternatives

[drupal/drupal-extension

Drupal extension for Behat

21115.5M166](/packages/drupal-drupal-extension)[friends-of-behat/symfony-extension

Integrates Behat with Symfony.

48024.5M637](/packages/friends-of-behat-symfony-extension)[friends-of-behat/variadic-extension

Variadic support for behat context arguments

2276.3M491](/packages/friends-of-behat-variadic-extension)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.0M131](/packages/wp-cli-wp-cli-tests)[friends-of-behat/mink-extension

Mink extension for Behat

14035.9M558](/packages/friends-of-behat-mink-extension)[imbo/behat-api-extension

API extension for Behat

1092.6M9](/packages/imbo-behat-api-extension)

PHPackages © 2026

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