Simple Tests in Drupal 6

2008 December 19

There are two simpletest modules for Drupal 6.  The 2.x branch (currently at 6.x-2.5) is a backport of the unit testing framework that will be included in Drupal 7.

Unfortunately, error handling is not very good and it is possible to get inscrutable errors like this when running a test:

Running SimpleTests

An error has occurred.
Please continue to the error page
An error occurred. /batch?id=30&op=do

read more…