Last updated January 10, 2012. Created by boombatower on July 14, 2009.
Edited by smokris, nowarninglabel, scor, sillygwailo. Log in to edit this page.
Requirements
SimpleTest has a few non-default requirements, but they are the same for both SimpleTest 6.x-2.x and Drupal 7 core SimpleTest. In addition to the requirements listed below, all core requirements need to be met since tests may execute any module.
- CURL extension for PHP
- 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 module. Enable it under admin/modules.
- If necessary, go to SimpleTest settings page under admin/config/development/testing/settings to configure the HTTP auth settings.
Environment
Since SimpleTest 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.
More details are available in the SimpleTest INSTALL.txt.
Comments
Acquia Stack
Acquia Stack doesn't include a default profile currently. You will need to copy one from a clean copy of drupal.
Ben Bunk
http://iis.drupalgardens.com/ - Drupaliis - Blog How Tos for Drupal and IIS 7
If you don't do this then you
If you don't do this then you will get an error message like "Fatal error: Call to undefined function install_no_profile_error() in /path-to-drupal/includes/install.inc on line 277.
I think this problem affects (Acquia) Drupal 6.x only.
What's happening is that when simpletest creates your test site it tries to use the default installation profile, which isn't there, boom!
gpk
----
www.alexoria.co.uk
The INSTALL.txt link is
The INSTALL.txt link is broken. This is the case with many module pages. I think it's because of the transfer of the code from CVS to Git. Nevertheless will be nice if these are fixed.
--- Abhijit