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.2.5(2w ago)04.1k—9.5%2[2 PRs](https://github.com/elbformat/ibexa-behat-bundle/pulls)MITPHPPHP &gt;=8.3CI passing

Since May 17Pushed 2w 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 2w ago

READMEChangelog (10)Dependencies (25)Versions (33)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

54

—

FairBetter than 97% of packages

Maintenance96

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 73.3% 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 ~73 days

Recently: every ~18 days

Total

17

Last Release

19d ago

Major Versions

v1.1.4 → v2.0.02025-03-10

PHP version history (2 changes)v1.0.0PHP &gt;=8.1

2.2.3PHP &gt;=8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4929980?v=4)[Hannes Giesenow](/maintainers/hgiesenow)[@hgiesenow](https://github.com/hgiesenow)

---

Top Contributors

[![hgiesenow](https://avatars.githubusercontent.com/u/4929980?v=4)](https://github.com/hgiesenow "hgiesenow (11 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

Static AnalysisPHPStan

Type Coverage Yes

### 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

[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k30.0M2.9k](/packages/infection-infection)[phparkitect/phparkitect

Enforce architectural constraints in your PHP applications

9244.5M32](/packages/phparkitect-phparkitect)[symplify/phpstan-rules

Set of Symplify rules, type extensions and error formatter for PHPStan

27013.3M372](/packages/symplify-phpstan-rules)[veewee/xml

XML without worries

1837.3M39](/packages/veewee-xml)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136411.0k14](/packages/rector-rector-src)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

12413.3k](/packages/ahmed-bhs-doctrine-doctor)

PHPackages © 2026

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