PHPackages                             edmondscommerce/behat-framework - 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. edmondscommerce/behat-framework

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

edmondscommerce/behat-framework
===============================

Initial behat framework

1.1.4(7y ago)0363[1 issues](https://github.com/edmondscommerce/behat-framework/issues)Shell

Since Jan 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/edmondscommerce/behat-framework)[ Packagist](https://packagist.org/packages/edmondscommerce/behat-framework)[ RSS](/packages/edmondscommerce-behat-framework/feed)WikiDiscussions master Synced 2mo ago

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

Behat Framework - A Behat 3 Quickstart
======================================

[](#behat-framework---a-behat-3-quickstart)

By [Edmonds Commerce](https://www.edmondscommerce.co.uk)
--------------------------------------------------------

[](#by-edmonds-commerce)

An easy to get up and running Behat 3 testing framework that includes chrome based mobile and tablet testing

### Step One - Create or Update your Composer Dependencies

[](#step-one---create-or-update-your-composer-dependencies)

#### Template composer.json (copy paste)

[](#template-composerjson-copy-paste)

For a brand new testing project, simply create a composer.json file and paste in the following:

```
{
    "require": {
        "edmondscommerce/behat-framework": "dev-master",
        "edmondscommerce/behat-faker-context": "dev-master",
        "edmondscommerce/behat-chrome-performance-context": "dev-master",
        "edmondscommerce/behat-error-detection-context": "dev-master",
        "edmondscommerce/behat-screenshot-context": "dev-master",
        "edmondscommerce/behat-error-handling-context": "dev-master",
        "edmondscommerce/behat-html-context": "0.0.1",
        "edmondscommerce/behat-javascript-context": "dev-master",
        "edmondscommerce/behat-mouse-context": "dev-master"
    },
    "config": {
        "bin-dir": "bin/"
    }
}

```

Then install the dependencies.

```
composer install --prefer-source

```

#### Or to add to an existing Project

[](#or-to-add-to-an-existing-project)

Set the bin dir in your composer.json

```
"config": {
    "bin-dir": "bin/"
}

```

And then run this to add to your composer.json and install

```
composer require edmondscommerce/behat-framework dev-master --prefer-source

```

### Step Two - Copy Behat Config Files

[](#step-two---copy-behat-config-files)

#### Features

[](#features)

`cp -R vendor/edmondscommerce/behat-framework/features .`

You can then add your features and custom contexts as needed.

#### Behat Config

[](#behat-config)

`cp vendor/edmondscommerce/behat-framework/behat.dist ./behat.yaml`

You will want to edit this file according to your requirements, but this is a good staritng point.

### Step Three - Add Other Contexts

[](#step-three---add-other-contexts)

There are a number of packages available that compliment the framework with more features.

We have created some to get you started:

##### Generic Contexts

[](#generic-contexts)

\[\]

\[\]

\[\]

\[\]

\[\]

\[\]

\[\]

\[

#### Platform Contexts

[](#platform-contexts)

\[\]

\[\]

\[\]

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 57.5% 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 ~182 days

Recently: every ~227 days

Total

6

Last Release

2864d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7af407ceeb8622c9c164d386ef3e95cda4c94d141240348ac5703223bb499d0e?d=identicon)[edmondscommerce](/maintainers/edmondscommerce)

---

Top Contributors

[![edmondscommerce](https://avatars.githubusercontent.com/u/62842?v=4)](https://github.com/edmondscommerce "edmondscommerce (23 commits)")[![everon](https://avatars.githubusercontent.com/u/375251?v=4)](https://github.com/everon "everon (14 commits)")[![rossmitchell](https://avatars.githubusercontent.com/u/7073145?v=4)](https://github.com/rossmitchell "rossmitchell (3 commits)")

---

Tags

testingdatabrowser-testingBehat

### Embed Badge

![Health badge](/badges/edmondscommerce-behat-framework/health.svg)

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

###  Alternatives

[imbo/behat-api-extension

API extension for Behat

1082.5M9](/packages/imbo-behat-api-extension)[drevops/behat-steps

Collection of steps for Behat

25381.7k3](/packages/drevops-behat-steps)[devinci/devinci-behat-extension

Provides extra behat goodies.

17593.9k](/packages/devinci-devinci-behat-extension)[genesis/behat-fail-aid

Get more out of your test suite by getting it to work with you when tests fail. Screenshots and more. Works with Goutte and MinkExtension.

281.5M17](/packages/genesis-behat-fail-aid)[tonicforhealth/behat-parallel-scenario

Behat parallel scenario

24354.7k](/packages/tonicforhealth-behat-parallel-scenario)[vipsoft/code-coverage-extension

Behat code coverage collector

2186.5k2](/packages/vipsoft-code-coverage-extension)

PHPackages © 2026

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