PHPackages                             guncha25/codecept-drupal-drush - 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. guncha25/codecept-drupal-drush

Abandoned → [guncha25/drupal-codeception](/?search=guncha25%2Fdrupal-codeception)ArchivedLibrary[Testing &amp; Quality](/categories/testing)

guncha25/codecept-drupal-drush
==============================

A Codeception module to allow drush commands to be run during tests.

0.5.0(8y ago)152.9k1MITPHP

Since Feb 9Pushed 8y agoCompare

[ Source](https://github.com/guncha25/codecept-drupal-drush)[ Packagist](https://packagist.org/packages/guncha25/codecept-drupal-drush)[ Docs](https://github.com/guncha25/codecept-drupal-drush)[ RSS](/packages/guncha25-codecept-drupal-drush/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (3)Versions (7)Used By (0)

Drupal Drush
============

[](#drupal-drush)

A Codeception module for running drupal drush commands.
-------------------------------------------------------

[](#a-codeception-module-for-running-drupal-drush-commands)

*Drupal Drush* is a [Codeception module](http://codeception.com/addons) for running drush commands on [Drupal](https://www.drupal.org/) sites.

It also allows the use of the following statements in tests:

```
// Execute "drush cc all"
$I->getDrush("cr")->mustRun();
```

Install with Composer
---------------------

[](#install-with-composer)

```
{
    "require": {
        "codeception/codeception": "^2.2",
        "guncha25/codeception-drupal-drush": "~0.3"
    }
}
```

Drupal Drush minimally requires Codeception 2.0.\* and PHP 5.4

Example suite configuration
---------------------------

[](#example-suite-configuration)

```
class_name: AcceptanceTester
modules:
    enabled:
        - PhpBrowser
        - AcceptanceHelper
        - DrupalDrush
    config:
        PhpBrowser:
            url: 'http://localhost/myapp/'
        DrupalDrush:
            working_directory: '/path/to/webroot'
```

The option `working_directory` may be ommited, it defaults to the current directory.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 67.9% 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 ~151 days

Total

5

Last Release

3144d ago

### Community

Maintainers

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

---

Top Contributors

[![ixisandyr](https://avatars.githubusercontent.com/u/5859244?v=4)](https://github.com/ixisandyr "ixisandyr (19 commits)")[![guncha25](https://avatars.githubusercontent.com/u/10857118?v=4)](https://github.com/guncha25 "guncha25 (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/guncha25-codecept-drupal-drush/health.svg)

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

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[captainhook/captainhook

PHP git hook manager

1.1k6.8M370](/packages/captainhook-captainhook)[lucatume/wp-browser

A set of Codeception modules to test WordPress projects.

6343.8M153](/packages/lucatume-wp-browser)[liuggio/fastest

Simple parallel testing execution... with some goodies for functional tests.

4825.6M26](/packages/liuggio-fastest)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8017.0M43](/packages/orchestra-workbench)

PHPackages © 2026

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