Skip to content

Pronovix/ddev-drupal-qa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

add-on registry tests last commit release

DDEV Drupal Qa

Overview

This add-on seamlessly integrates various quality assurance tools from Drupal QA into DDEV, providing convenient ddev commands for various QA tools.

Installation

ddev add-on get Pronovix/ddev-drupal-qa
ddev restart

After installation, make sure to commit the .ddev directory to version control.

Prerequisites:

Before using the commands, ensure you have the pronovix/drupal-qa package installed in your project:

composer require --dev pronovix/drupal-qa

This add-on also automatically installs ddev/ddev-selenium-standalone-chrome as a dependency of running tests with PHPUnit and other frameworks.

Usage

Once installed and configured, you can use the following ddev commands:

ddev phpcbf

Description: Run phpcbf inside the web container Usage: ddev phpcbf [flags] [args] Example: "ddev phpcbf" or "ddev phpcbf -n"

ddev phpcs

Description: Run phpcs inside the web container Usage: ddev phpcs [flags] [args] Example: "ddev phpcs" or "ddev phpcs -n"

ddev phpstan

Description: Run phpstan inside the web container Usage: ddev phpstan [flags] [args] Example: "ddev phpstan" or "ddev phpstan -n"

ddev phpunit

Description: Run phpunit inside the web container Usage: ddev phpunit [flags] [args] Example: "ddev phpunit" or "ddev phpunit --stop-on-failure"

ddev behat

Description: Run behat inside the web container Usage: ddev behat [flags] [args] Example: "ddev behat" or "ddev behat --tags=@my_tag"

Credits

Contributed and maintained by @Pronovix

About

DDEV add-on for seamlessly integrating tools from Drupal QA into DDEV.

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages

Generated from ddev/ddev-addon-template