/drupal_tdd

Code and sample apps to simplify Test Driven Development and unit testing with Drupal

Primary LanguagePHP

This repository contains PHP code designed to make Test Driven Development with Drupal easy and enjoyable. Among other things, we will be applying testing ideas from the Ruby on Rails framework to Drupal/PHP. We'll also be writing sample apps to illustrate how to use the tools here to develop Drupal modules using TDD and PHPUnit.

For now we have a single PHP file, phpunit_setup.inc, which allows you to use MySQL transactions and a separate test database for running PHPUnit test cases in the Drupal framework.

For more information or to provide feedback/bugs, see:
http://patshaughnessy.net/drupal-test-database

As of the current release you can use phpunit_setup.inc in Drupal 5 and 6. Test

Copyright (c) 2009 [Patrick Shaughnessy, Mark Bennett], released under the MIT license