On this page
Testing setup and configuration
Last updated on
17 January 2023
Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites
Requirements
SimpleTest has a few non-default requirements. In addition to the requirements listed below, all core requirements need to be met since tests may execute any module.
- CURL extension for PHP
- PHP open_basedir restriction needs to be disabled.
- DOM extension for PHP. DOM support is included by default in php5.
- Recommended PHP memory limit of 256MB (not exact)
Drupal 7.x
- SimpleTest is now in core, where it is called the Testing (
simpletest
) module. Enable it under admin/modules. - If necessary, go to Testing settings page under admin/config/development/testing/settings to configure the HTTP auth settings.
Environment
Since Testing will be accessing your computer in the same manner as your browser does, it needs to have the necessary permissions (ie. HTTP auth, firewall) to access your development site.
Once you have these items in place you may enable SimpleTest/Testing.
More details are available in the SimpleTest INSTALL.txt.
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion