DDEV Add-on Registryjustafish › ddev-drupal-core-dev

ddev-core-dev

This is a DDEV addon for doing Drupal core development.

We’re in #ddev-for-core-dev on Drupal Slack (but please try and keep work and feature requests in Issues where it’s visible to all 🙏)

Installation

git clone https://git.drupalcode.org/project/drupal.git drupal
cd drupal
ddev config --omit-containers=db --disable-settings-management
ddev composer install
ddev add-on get justafish/ddev-drupal-core-dev

# See included commands
ddev drupal list

Examples

# Install drupal
# Run "ddev drupal install" to see all available options
ddev drupal install standard

# Run PHPUnit tests
ddev phpunit core/modules/sdc

# Run Nightwatch tests (currently only runs on Chrome)
ddev nightwatch --tag core

Nightwatch Examples

You can watch Nightwatch running in real time at https://drupal.ddev.site:7900 for Chrome and https://drupal.ddev.site:7901 for Firefox. The password is “secret”. YMMV using Firefox as core tests don’t currently run on it.