PHPackages                             indigophp/oro-behat-extension - 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. indigophp/oro-behat-extension

AbandonedArchivedBehat-extension

indigophp/oro-behat-extension
=============================

Behat extension for Oro Platform

v0.3.0(9y ago)0209[1 issues](https://github.com/indigophp/oro-behat-extension/issues)MITPHPPHP &gt;=5.4

Since Mar 25Pushed 9y ago1 watchersCompare

[ Source](https://github.com/indigophp/oro-behat-extension)[ Packagist](https://packagist.org/packages/indigophp/oro-behat-extension)[ Docs](http://indigophp.com)[ RSS](/packages/indigophp-oro-behat-extension/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

Oro Platform Behat extension
============================

[](#oro-platform-behat-extension)

[![Latest Version](https://camo.githubusercontent.com/db41a244286c7aa23d5b61abab78a40deea07844a4ef62a035f5bfdf7f2bedde/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f696e6469676f7068702f6f726f2d62656861742d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/indigophp/oro-behat-extension/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/2c1ad43ff9edcbc7e7933e61f5e632da258a4aaf0118640216e545247d7ffc41/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f696e6469676f7068702f6f726f2d62656861742d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/indigophp/oro-behat-extension)[![Code Coverage](https://camo.githubusercontent.com/e0b6f02c48cf222ebb4d1b0cf768bec09b485f9a0d0b042dcf658fb803b9e702/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f696e6469676f7068702f6f726f2d62656861742d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/indigophp/oro-behat-extension)[![Quality Score](https://camo.githubusercontent.com/d586b0aff03117669b992a788f691c46dd23a8f2797aed9e3de06a5e03c8d569/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f696e6469676f7068702f6f726f2d62656861742d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/indigophp/oro-behat-extension)[![Total Downloads](https://camo.githubusercontent.com/0123f3c69aecddb7ac7cc5b76d4b68effc47fbf4d612d180525c9686d4b37307/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696e6469676f7068702f6f726f2d62656861742d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/indigophp/oro-behat-extension)

**Behat extension for Oro Platform.**

Install
-------

[](#install)

Via Composer

```
$ composer require indigophp/oro-behat-extension
```

Usage
-----

[](#usage)

This package provides some utilities to ease writting [Functional Tests](https://www.orocrm.com/documentation/index/current/book/functional-tests)using [Behat](http://docs.behat.org) for [Oro Platform](https://www.orocrm.com/oro-platform) based applications.

Supported features:

- [Database Isolation](https://www.orocrm.com/documentation/index/current/book/functional-tests#database-isolation)\*
- [Database Reindex](https://www.orocrm.com/documentation/index/current/book/functional-tests#database-reindex)\*
- Setting WSSE header

*\* Unlike the original Oro behavior, transaction start-rollback and reindexing are done per scenario, not per feature (test case)*

First, you need to configure Behat and the [Symfony2 Extension](https://github.com/Behat/Symfony2Extension/blob/master/doc/index.rst):

```
default:
    # ...
    extensions:
        Behat\Symfony2Extension: ~
```

After that, you need to configure a bundle and load the Oro Context:

```
default:
    suites:
        acme:
            type: symfony_bundle
            contexts:
                - Indigo\Oro\Behat\Context\OroContext
                - Acme\Bundle\AcmeBundle\Features\Context\FeatureContext
            bundle: AcmeBundle
    # ...
```

You can now write your features:

```
@dbIsolation
Feature: I do something
    In order to something
    As someone
    I should be able to do that thing

    @wsse
    Scenario: I do the thing using the REST API
        Given I am someone
        When I do the thing using the REST API
        Then the thing should have been done

    @dbReindex
    Scenario: I search for something
        Given I am someone
        When I search for something
        Then I should see that thing

```

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see our contributing guide on [developers.indigophp.com](http://developers.indigophp.com).

Security
--------

[](#security)

If you discover any security related issues, please contact us at .

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

Total

3

Last Release

3553d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e4e105cea62b616d4cb376b08a849b6a428f646998537de150d16a8eb537b90?d=identicon)[mark.sagikazar](/maintainers/mark.sagikazar)

![](https://www.gravatar.com/avatar/1585b5a08e138e348f5b646231d0f16cb2eae06501fb9462bbc97a794d4de84a?d=identicon)[TamasBarta](/maintainers/TamasBarta)

---

Top Contributors

[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (6 commits)")

---

Tags

BehatORO

### Embed Badge

![Health badge](/badges/indigophp-oro-behat-extension/health.svg)

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

###  Alternatives

[friends-of-behat/mink-debug-extension

Debug extension for Behat

2075.3M286](/packages/friends-of-behat-mink-debug-extension)[sensiolabs/behat-page-object-extension

Page object extension for Behat

1166.5M27](/packages/sensiolabs-behat-page-object-extension)[dmore/behat-chrome-extension

Behat extension for controlling Chrome without Selenium

3313.2M358](/packages/dmore-behat-chrome-extension)[dvdoug/behat-code-coverage

Generate Code Coverage reports for Behat tests

593.6M37](/packages/dvdoug-behat-code-coverage)[robertfausk/behat-panther-extension

Symfony Panther extension for Behat

341.7M87](/packages/robertfausk-behat-panther-extension)[behat-extension/doctrine-data-fixtures-extension

Doctrine data fixtures extension for Behat

20546.2k1](/packages/behat-extension-doctrine-data-fixtures-extension)

PHPackages © 2026

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