[drupal-devel] Unit tests in Drupal.

Moshe Weitzman weitzman at tejasa.com
Sat May 21 15:19:07 UTC 2005

I have built a decent framework for running unit tests in drupal. all  
thats needed is for modules and core to develop 'tests'. Tests are  
small php files which will likely ship with your module. i have  
already written tests for the validation functions in user.module. I  
hope developers will take an interest in this effort. See http:// 


On May 21, 2005, at 7:05 AM, Adrian Rossouw wrote:

> Hash: SHA1
> I know there has been some discussion regarding this in the past,  
> but I was wondering what it would actually
> take to get Drupal into a state where we take advantage of unit  
> testing.
> As I have stated before, the most of my time spent maintaining the  
> postgres port is spent testing every little thing
> in the system, and anything to automate that would help me, and by  
> extension Drupal, immensely.
> Any thoughts ?
> - --
> Adrian Rossouw
> Drupal developer and Bryght Guy
> http://drupal.org | http://bryght.com
> Version: GnuPG v1.2.4 (Darwin)
> iD8DBQFCjxYCgegMqdGlkasRAtLLAJ4wy1XmaTGSLIx/82a7A5yB1s77gACfWGn/
> WnsHfDt10emthkkRviRcy/o=
> =BwUV

More information about the drupal-devel mailing list