I spent a huge amount of time trying to figure out why simpletest would run on my local setup, but not on my development server.

I finally found an explanation at http://wtanaka.com/node/7869, and realized that the out-of-the-box RHEL php didn't have the DOM extension.

This should at a minimum be in the README.txt or INSTALL.txt.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ShawnClark’s picture

Component: Documentation » Code
Category: task » bug
Status: Active » Needs review
FileSize
2.04 KB

Ran into this same issue and have created a patch so that SimpleTest will check for the existence of the DOMDocument class.

ShawnClark’s picture

Title: Document DOM requirement » DOMDocument requirement
zroger’s picture

Status: Needs review » Reviewed & tested by the community

Patch works as advertised.

Damien Tournoud’s picture

Project: SimpleTest » Drupal core
Version: 6.x-2.x-dev » 7.x-dev
Component: Code » simpletest.module
Status: Reviewed & tested by the community » Patch (to be ported)

This needs to get to D7 first.

Dave Reid’s picture

Status: Patch (to be ported) » Needs review
FileSize
2.25 KB

Here's a better patch that simplified the simpletest_requirements() code down without having to use the $phase parameter like system_requirements() and fixes the use of links within t().

Dries’s picture

Project: Drupal core » SimpleTest
Version: 7.x-dev » 6.x-2.x-dev
Component: simpletest.module » Code

This has been committed to Drupal 7 core. Moving back to SimpleTest project.

boombatower’s picture

Status: Needs review » Fixed

Complete backport of Drupal 7.x SimpleTest module. (voids all backports). (SimpleTest 2.6)

Please re-open if still an issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.