Skip to content

An improved Drush SimpleTest command which allows you to run a single Drupal test from the command-line

Notifications You must be signed in to change notification settings

ekohl/drush_simpletest_command

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

= Drush SimpleTest command =

This adds a 'test' command to Drush, enabling you to run a single SimpleTest
test. It has been tested with Drush 6.x-3.3 on Drupal 6.16.

This code is based on the patch by Bevan at http://drupal.org/node/580530. It
adds some features such as the ability to toggle detailed test output on and
off and more importantly, it captures and displays any exception logs or other
critical test failures which the original code failed to do.

The code for XML output is based on an updated run-tests.sh from
http://www.computerminds.co.uk/hudson-and-simpletest.

It also adds the ability to email a list of recipients the rest results as
well as output the results in JUnit XML format. Note that this does need
PHP-DOM. See http://www.php.net/manual/en/dom.installation.php for
installation. It's commonly packages as php-xml.

To use this simply overwrite drush/commands/simpletest/simpletest.drush.inc
with the file provided in this package. You can also invoke drush with an
include path containing this package.

About

An improved Drush SimpleTest command which allows you to run a single Drupal test from the command-line

Resources

Stars

Watchers

Forks

Packages

No packages published