PHPackages                             elbformat/ibexa-behat-bundle - 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. elbformat/ibexa-behat-bundle

ActiveSymfony-bundle[Testing &amp; Quality](/categories/testing)

elbformat/ibexa-behat-bundle
============================

Context and Helpers to integrate behat tests in your ibexa dxp installation.

2.1.0(3mo ago)03.0k—7.1%1[2 PRs](https://github.com/elbformat/ibexa-behat-bundle/pulls)MITPHPPHP &gt;=8.1

Since May 17Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/elbformat/ibexa-behat-bundle)[ Packagist](https://packagist.org/packages/elbformat/ibexa-behat-bundle)[ RSS](/packages/elbformat-ibexa-behat-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (23)Used By (0)

ibexa-behat-bundle
==================

[](#ibexa-behat-bundle)

Although there already is an [official behat bundle](https://github.com/ibexa/behat) for ibexa, this bundle has a completely different approach. It is optimized for faster execution by using the Symfony Kernel directly and only partially reset the database. Also, it has more strict wordings in a behavioural manner. Last but not least it also supports creating page builder blocks.

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

[](#installation)

1. Add the bundle via composer

```
composer require elbformat/ibexa-behat-bundle
```

2. Activate bundles in `config/bundles.php`

```
Elbformat\SymfonyBehatBundle\ElbformatSymfonyBehatBundle::class => ['test' => true],
Elbformat\IbexaBehatBundle\ElbformatIbexaBehatBundle::class => ['test' => true],
```

3. Configure behat.yml See the [symfony-behat-bundle installation](https://packagist.org/packages/elbformat/symfony-behat-bundle) instructions. Add more contexts as you like

```
default:
  suites:
    default:
      contexts:
        - Elbformat\IbexaBehatBundle\Context\AdminContext
        - Elbformat\IbexaBehatBundle\Context\ContentContext
        - Elbformat\IbexaBehatBundle\Context\LandingpageContext
        - Elbformat\IbexaBehatBundle\Context\ObjectstateContext
        - Elbformat\IbexaBehatBundle\Context\SolrContext
        - Elbformat\IbexaBehatBundle\Context\TrashContext

```

4. Use TestFilePathNormalizer In order to test uploaded images, you need a predictable filename. This can be achieved by skipping the random hash at the end, when running test. Just put the following line in your `config/services_behat.yaml` to

```
services:
  # Prevent random character in image urls for tests
  Elbformat\IbexaBehatBundle\IO\TestFilePathNormalizer:
    decorates: 'Ibexa\Core\IO\FilePathNormalizer\Flysystem'
    arguments: ['@.inner']
```

Run tests
---------

[](#run-tests)

Make sure you have a database configured for the test environment. It's recommended to have an extra database configured for tests in `.env.test`, to not accidentally delete real contents. After configuration you should initialise it once, before running any test against it.

```
bin/console -e test do:da:cr
bin/console -e test do:mi:mi -n
bin/console -e test ib:mi:mi -n
bin/console -e test ibexa:reindex
```

Then you can simply run the tests.

```
vendor/bin/behat
```

Tweaks
------

[](#tweaks)

When you have internal, fixed content/location ids &gt; 1000 you may want to change the minimum id for resetting the database. To do this, you can simply add an enviromment variable `BEHAT_CONTENT_MIN_ID=10000` to `.env.behat`

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance82

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~90 days

Recently: every ~202 days

Total

12

Last Release

99d ago

Major Versions

v1.1.4 → v2.0.02025-03-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/c9968aaccc87c900fd5ae77c88cbec3bf36f3f1f61aff0b70c32dadcf70cd1be?d=identicon)[hgiesenow](/maintainers/hgiesenow)

---

Top Contributors

[![hgiesenow](https://avatars.githubusercontent.com/u/4929980?v=4)](https://github.com/hgiesenow "hgiesenow (6 commits)")[![cgoretzka](https://avatars.githubusercontent.com/u/95420418?v=4)](https://github.com/cgoretzka "cgoretzka (2 commits)")[![yumengglaetsch](https://avatars.githubusercontent.com/u/256357403?v=4)](https://github.com/yumengglaetsch "yumengglaetsch (2 commits)")

---

Tags

Behatibexa

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/elbformat-ibexa-behat-bundle/health.svg)

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

###  Alternatives

[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)[acquia/drupal-spec-tool

A tool for specifying Drupal architecture details and generating automated tests for them

1532.6M3](/packages/acquia-drupal-spec-tool)[imbo/behat-api-extension

API extension for Behat

1082.5M9](/packages/imbo-behat-api-extension)[dmore/behat-chrome-extension

Behat extension for controlling Chrome without Selenium

3313.2M358](/packages/dmore-behat-chrome-extension)

PHPackages © 2026

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