PHPackages                             operations/drush-behat-params - 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. operations/drush-behat-params

ActiveDrupal-drush[Testing &amp; Quality](/categories/testing)

operations/drush-behat-params
=============================

Drush command wrapper for behat that pre-configures BEHAT\_PARAMS.

2.1.0(2y ago)08.8k↓49.5%MITPHPPHP &gt;=5.6

Since May 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/operations-project/drush-behat-params)[ Packagist](https://packagist.org/packages/operations/drush-behat-params)[ RSS](/packages/operations-drush-behat-params/feed)WikiDiscussions 2.x Synced yesterday

READMEChangelogDependencies (13)Versions (31)Used By (0)

Drush Behat Params
==================

[](#drush-behat-params)

A basic drush plugin that calls behat with `BEHAT_PARAMS` with URL, root and drush alias set automatically.

[![img.png](img.png)](img.png)

Usage:
------

[](#usage)

1. Install with composer:

    ```
    composer require operations/drush-behat-params`

    ```
2. Run with drush

    ```
    drush behat

    ```

    or

    ```
    drush @alias behat

    ```

Make sure `DRUSH_OPTIONS_URI` value is set so behat tests the right URL.

NOTE: For easy setting of `DRUSH_OPTIONS_URI` on Lando, see .

### Remote Aliases

[](#remote-aliases)

You can use this command to run tests on a remote site from your local using [Drush Site Aliases](https://www.drush.org/12.x/site-aliases/).

For example, if you have an alias called `@test`, you can run your behat tests on it like so:

```
    $ drush @dev behat
    ------------- ---------------------------------------- -----------
    Drush Alias   URL                                      Root
    ------------- ---------------------------------------- -----------
    @self         test-projectcode.pantheonsite.io          /code/web
    ------------- ---------------------------------------- -----------
    ....

```

What?
-----

[](#what)

Behat uses either hard-coded config or a JSON blob in BEHAT\_PARAMS to configure what site to test.

Instead of messing with ENV vars, this plugin sets BEHAT\_PARAMS for you using the Drush alias information.

Development
-----------

[](#development)

This tool is a part of the [Drupal Operations Project](https://drupal.org/project/operations).

Source code is maintained at

Issues can be filed at

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

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

Recently: every ~23 days

Total

25

Last Release

889d ago

Major Versions

1.x-dev → 2.0.0-beta12023-07-27

1.10.0-alpha11 → 2.0.0-beta22023-07-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/10539fb9e887c35b626eba70c97dd9d53ba14e987d4f129b55a488664a834eca?d=identicon)[jonpugh](/maintainers/jonpugh)

---

Top Contributors

[![jonpugh](https://avatars.githubusercontent.com/u/106420?v=4)](https://github.com/jonpugh "jonpugh (13 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/operations-drush-behat-params/health.svg)

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

###  Alternatives

[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k60.6M803](/packages/drush-drush)[pantheon-systems/terminus

A command line interface for Pantheon

3391.5M18](/packages/pantheon-systems-terminus)[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M361](/packages/dms-phpunit-arraysubset-asserts)[consolidation/site-process

A thin wrapper around the Symfony Process Component that allows applications to use the Site Alias library to specify the target for a remote call.

5348.3M10](/packages/consolidation-site-process)

PHPackages © 2026

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