[development] Drupal Test Suite

Darrel O'Pry dopry at thing.net
Fri Apr 28 18:15:40 UTC 2006


Lets get it in... There is no reason that work should not find its way
into core or be updated for 4.7.

On Fri, 2006-04-28 at 11:05 -0700, Nimish Pachapurkar wrote:
> Hello,
> 
> Some months ago, I had inquired about the current state of the Drupal 
> test suite in this forum. At that time there were some issues in running 
> the simpletest module for Drupal 4.6.5.
> 
> A team at SpikeSource, Inc. (http://www.spikesource.com) - where I work 
> - has recently developed a test suite for Drupal that comprises of 5925 
> functional tests that exercise more than 50% of the code. This test 
> suite runs against both MySQL and PostgreSQL back ends.
> 
> The test suite is developed using following open source tools:
> 
>   * TestGen4Web: Used for recording user actions through browser and 
> then translating them into SimpleTest test cases. 
> http://developer.spikesource.com/projects/testgen4web/
> 
>   * SimpleTest: PHP unit and functional testing tool. 
> (http://www.lastcraft.com/simple_test.php)
> 
>   * PHPCoverage: PHP line coverage measurement tool. 
> (http://developer.spikesource.com/projects/phpcoverage/)
> 
> Currently, the test suite works against a deployed and configured 
> instance of Drupal 4.6.6 with 99.98% tests passing. (SimpleTest counts 
> each assertion as a test case.) The test suite covers following modules 
> in addition to the core modules.
> 
>   * article
>   * event
>   * fckeditor
>   * flexinode
>   * image
>   * img_assist
> 
> We would like to contribute this test suite so that more people can add 
> to it and improve it.
> 
> Please let me know if anyone might be interested in taking a look at it 
> and carrying this discussion forward.
> 
> Thanks,
> Nimish
> 
> --
> SpikeSource, Inc.
> 
> 



More information about the development mailing list