phpunit2

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Objetive

Provides Unit test to Drupal Modules unsing PHPUnit. This modules provides a custom
runner to run PHPUnit test in Drupal. Also include some features to mock functions using the test_helper extension created
by Sebastian Bergman.

Actually is tested in Drupal 6 only, we will include support for Drupal 7 also in the future.

Instalation

Previous to the module instalation you need to have installed PHPUnit, Xdebug and Test_Helpers
extension.

In order to install PHPUnit do the following steps

Drush CTools Export Bonus

Component type

module

Maintenance status

Development status

Downloads

2787

Component created

Component changed

Adds more functionality to the CTools drush bulk export commands.

drush ctex modulename will export all known ctools exportables of a site to a module. But there are also other configurations you'd like to have in code. This project fills in that gap with extra configuration and drush commands.

To install it just drush dl drush_ctex_bonus in your .drush folder, or - even better - in a system-wide drush commands folder.

Drush Search & Replace

Component type

module

Categories

Maintenance status

Development status

Downloads

6515

Component created

Component changed

This drush plugin performs a text search & replace on all content and content revisions in all text fields and all custom blocks on a Drupal site.

It does this directly in the database, not by loading, editing and then saving entities, so it is very fast. This also means you should clear the Drupal caches after you run this command.

An example use case is to update all embedded file paths from sites/dev.example.com/files to sites/example.com/files:

drush sar sites/dev.example.com/files sites/example.com/files

Drush Environemnt

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

This is a DRUSH command that makes it easy for you to enable/disable modules, set permissions, and set variables depending on your current environment. Basically, this solves the problem of "I want devel enabled on DEV but not on PROD."

INSTALLATION

Provision Safe Deploy

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Right now, provision-deploy fails in spectacular fashion if you are putting the site on a platform with the same projects, but a different directory structure. Ignoring the mind-boggling issue that Drupal core doesn't treat the system registry as the cache that it is and simply refresh it if a path isn't valid, we can use the registry_rebuild project right before provision-deploy causes a bootstrap. Right now this is done on the pre_updatedb event, but obviously that doesn't work if the provision project starts calling some other set of commands that also require a bootstrap.

Drush Multiply

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

A Drush command to create multiple, identical sites within a single docroot. This is designed for classroom-based training, where many sites need to be created at once.

Scenario

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Behavior Driven Development for Drupal
featuring Drush, Behat and Mink.

drush @mysite scenario

This one simple command will run features found in the site configuration directory specified by the given alias. All of the dependencies, including behat and mink, will be downloaded on first run.

Drush Fetcher

Component type

module

Categories

Maintenance status

Development status

Downloads

1133

Component created

Component changed

Fetcher is a Drush extension that automates the process of provisioning a Drupal site on a local development environment or a server. This includes setting up the Drupal root, fetching the code (generally from a VCS), creating a database for the site and a user with the necessary privileges to manage it, updating permissions, creating symlinks, setting up server configuration files like Apache’s virtual hosts, and generating drush alias files for your convenience. In addition, fetcher supports post installation tasks that can be run after a site is setup.