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

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

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

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

2.1.0(2y ago)0609MITPHPPHP &gt;=5.6

Since May 22Pushed 1y ago1 watchersCompare

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

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

27

—

LowBetter than 49% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity13

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

835d 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/drupal-operations-drush-behat-params/health.svg)

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

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M679](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[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.4k57.4M680](/packages/drush-drush)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M571](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)

PHPackages © 2026

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