PHPackages                             intelektron/codeception-drupal-bootstrap - 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. intelektron/codeception-drupal-bootstrap

ActiveLibrary[Testing &amp; Quality](/categories/testing)

intelektron/codeception-drupal-bootstrap
========================================

A module for Codeception that exposes the Drupal API to test suites.

1.0.2(4y ago)055MITPHP

Since Mar 13Pushed 4y agoCompare

[ Source](https://github.com/intelektron/codeception-drupal-bootstrap)[ Packagist](https://packagist.org/packages/intelektron/codeception-drupal-bootstrap)[ RSS](/packages/intelektron-codeception-drupal-bootstrap/feed)WikiDiscussions master Synced 1w ago

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

Codeception Drupal Module
=========================

[](#codeception-drupal-module)

This module aims to allow tests to use the Drupal API during testing. This allows for better functional testing of your Drupal sites.

**This is a fork for Codeception 2.x-4.x and Drupal 7.x-9.x**

It also makes test driven development with Drupal significantly easier, as you can make assertions on items that you create through the UI.

Installation
------------

[](#installation)

```
$ composer require intelektron/codeception-module-drupal --dev
```

Usage
-----

[](#usage)

In your `*.suite.yml` file, add `Drupal` to your enabled modules list.

### Example configuration

[](#example-configuration)

This will run tests under the assumption that your Drupal installation is in a `drupal` sub-directory.

```
class_name: AcceptanceTester modules:
    enabled:
        \Codeception\Module\Drupal7\Drupal7:
            root: 'drupal'
            relative: yes
```

### Options

[](#options)

#### root

[](#root)

Accepts: `string` Default: `current working directory`

This defines the Drupal root in relation to the `codecept.yml` file. If this isn't passed in it defaults to the current working directory.

#### relative

[](#relative)

Accepts: `yes` or `no` Default: `no`

This allows you to specify if the path to the drupal root is relative from the `codeception.yml` file. Accepts `yes` or `no`.

License
-------

[](#license)

The project is licensed under The MIT License (MIT).

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 71.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 ~863 days

Total

4

Last Release

1493d ago

Major Versions

0.1.0 → 1.0.02015-07-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e35f3668ee301896e79da12b0a878f5ff5d27324ed34f18541f019bb71fc3bf?d=identicon)[intelektron](/maintainers/intelektron)

---

Top Contributors

[![Chapabu](https://avatars.githubusercontent.com/u/1395471?v=4)](https://github.com/Chapabu "Chapabu (107 commits)")[![mattc-cogapp](https://avatars.githubusercontent.com/u/62068288?v=4)](https://github.com/mattc-cogapp "mattc-cogapp (33 commits)")[![intelektron](https://avatars.githubusercontent.com/u/3647601?v=4)](https://github.com/intelektron "intelektron (9 commits)")[![kostajh](https://avatars.githubusercontent.com/u/208893?v=4)](https://github.com/kostajh "kostajh (1 commits)")

---

Tags

testingtestcodeceptiondrupal

### Embed Badge

![Health badge](/badges/intelektron-codeception-drupal-bootstrap/health.svg)

```
[![Health](https://phpackages.com/badges/intelektron-codeception-drupal-bootstrap/health.svg)](https://phpackages.com/packages/intelektron-codeception-drupal-bootstrap)
```

###  Alternatives

[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k497.0M23.6k](/packages/mockery-mockery)[allure-framework/allure-codeception

Allure Codeception integration

5212.1M7](/packages/allure-framework-allure-codeception)[contributte/codeception

Integration of Nette framework to Codeception.

27886.9k1](/packages/contributte-codeception)[jayhealey/webception

Web Interface for running Codeception tests.

19110.7k](/packages/jayhealey-webception)[drupal/tqextension

Behat extension for testing Drupal sites

1134.4k](/packages/drupal-tqextension)

PHPackages © 2026

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