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

ActiveNeos-package[Testing &amp; Quality](/categories/testing)

neos/behat
==========

Behat support package for Neos Flow

9.0.0(1y ago)4791.6k↑87%13[2 issues](https://github.com/neos/behat/issues)12LGPL-3.0-or-laterPHPPHP ^8.2

Since Aug 18Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/neos/behat)[ Packagist](https://packagist.org/packages/neos/behat)[ Fund](https://shop.neos.io/neosfunding/)[ RSS](/packages/neos-behat/feed)WikiDiscussions 9.2 Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (51)Used By (12)

Project preparation
===================

[](#project-preparation)

For running the Behat tests you will need some additional context.

- The context `Testing/Behat` is used inside the Behat feature context to boot flow.

### Resetting the database after each scenario.

[](#resetting-the-database-after-each-scenario)

By using the `FlowEntitiesTrait` and tagging the feature with `@flowEntities`, the doctrine tables will be dropped.

Make sure to create a new database for the Behat tests as otherwise your data will be lost.

Example configuration
---------------------

[](#example-configuration)

`Configuration/Testing/Behat/Settings.yaml`

```
Neos:
  Flow:
    persistence:
      backendOptions:
        dbname: 'neos_testing_behat'
        driver: pdo_mysql
        user: ''
        password: ''
```

### Migration from `neos/behat` &lt; 9.0

[](#migration-from-neosbehat--90)

Previously when including the `FlowContextTrait`, and tagging the feature with `@fixture`, it would clear the doctrine tables after each tests.

The new `FlowBootstrapTrait` doesn't handle this anymore, but one needs to use the `FlowEntitiesTrait` and tag the feature with `@flowEntities`

Previously we advised to install behat into a separate folder via `behat:setup`, but there is currently no need for this complexity. Now we advise to simply install behat inside the same composer distribution.

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance56

Moderate activity, may be stable

Popularity45

Moderate usage in the ecosystem

Community33

Small or concentrated contributor base

Maturity89

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~86 days

Recently: every ~126 days

Total

50

Last Release

53d ago

Major Versions

6.1.x-dev → 7.1.02021-04-19

7.3.0 → 8.0.x-dev2022-03-29

7.3.x-dev → 9.0.0-beta12023-10-31

8.4.0 → 9.0.0-beta112024-06-22

9.1.x-dev → 10.0.x-dev2025-04-04

PHP version history (2 changes)6.1.x-devPHP ^7.2 || ^8.0

9.0.0-beta1PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11575267?v=4)[Neos](/maintainers/neos)[@neos](https://github.com/neos)

---

Top Contributors

[![kdambekalns](https://avatars.githubusercontent.com/u/95873?v=4)](https://github.com/kdambekalns "kdambekalns (33 commits)")[![hlubek](https://avatars.githubusercontent.com/u/33351?v=4)](https://github.com/hlubek "hlubek (19 commits)")[![kitsunet](https://avatars.githubusercontent.com/u/324408?v=4)](https://github.com/kitsunet "kitsunet (16 commits)")[![mhsdesign](https://avatars.githubusercontent.com/u/85400359?v=4)](https://github.com/mhsdesign "mhsdesign (15 commits)")[![johannessteu](https://avatars.githubusercontent.com/u/769789?v=4)](https://github.com/johannessteu "johannessteu (13 commits)")[![albe](https://avatars.githubusercontent.com/u/4259532?v=4)](https://github.com/albe "albe (11 commits)")[![mgoldbeck](https://avatars.githubusercontent.com/u/1336044?v=4)](https://github.com/mgoldbeck "mgoldbeck (4 commits)")[![mficzel](https://avatars.githubusercontent.com/u/1309380?v=4)](https://github.com/mficzel "mficzel (3 commits)")[![bwaidelich](https://avatars.githubusercontent.com/u/307571?v=4)](https://github.com/bwaidelich "bwaidelich (3 commits)")[![andreaswolf](https://avatars.githubusercontent.com/u/159919?v=4)](https://github.com/andreaswolf "andreaswolf (2 commits)")[![foerthner](https://avatars.githubusercontent.com/u/564857?v=4)](https://github.com/foerthner "foerthner (2 commits)")[![Fischer-Simon](https://avatars.githubusercontent.com/u/1522981?v=4)](https://github.com/Fischer-Simon "Fischer-Simon (2 commits)")[![skurfuerst](https://avatars.githubusercontent.com/u/190777?v=4)](https://github.com/skurfuerst "skurfuerst (1 commits)")[![webdesign2be](https://avatars.githubusercontent.com/u/4973284?v=4)](https://github.com/webdesign2be "webdesign2be (1 commits)")[![beheist](https://avatars.githubusercontent.com/u/10347669?v=4)](https://github.com/beheist "beheist (1 commits)")[![jonakieling](https://avatars.githubusercontent.com/u/876839?v=4)](https://github.com/jonakieling "jonakieling (1 commits)")[![baschny](https://avatars.githubusercontent.com/u/337581?v=4)](https://github.com/baschny "baschny (1 commits)")[![apocalip](https://avatars.githubusercontent.com/u/189795?v=4)](https://github.com/apocalip "apocalip (1 commits)")[![mrimann](https://avatars.githubusercontent.com/u/1093784?v=4)](https://github.com/mrimann "mrimann (1 commits)")

---

Tags

hacktoberfesttesting-tools

### Embed Badge

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

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

###  Alternatives

[drupal/drupal-extension

Drupal extension for Behat

22215.1M147](/packages/drupal-drupal-extension)[friends-of-behat/symfony-extension

Integrates Behat with Symfony.

48223.4M551](/packages/friends-of-behat-symfony-extension)[friends-of-behat/variadic-extension

Variadic support for behat context arguments

2286.0M446](/packages/friends-of-behat-variadic-extension)[friends-of-behat/mink-extension

Mink extension for Behat

14034.2M467](/packages/friends-of-behat-mink-extension)[friends-of-behat/suite-settings-extension

Allows to overwrite suites' default settings.

2154.1M387](/packages/friends-of-behat-suite-settings-extension)[wp-cli/wp-cli-tests

WP-CLI testing framework

422.7M87](/packages/wp-cli-wp-cli-tests)

PHPackages © 2026

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