You are here

INSTALL.txt in SimpleTest 6.2

Same filename and directory in other branches
  1. 5 INSTALL.txt
  2. 6 INSTALL.txt
AUTHOR
------
Jimmy Berry ("boombatower", http://drupal.org/user/214218)

REQUIREMENTS
------------
 * PHP 5.2 - both patched core and SimpleTest module
   - php-curl

INSTALLATION
------------
1. Apply the D6-core-simpletest.patch file to Drupal 6 core. Navigate to your
   site root and use the following command (for a unix system):
   patch -p0 < path/to/simpletest/D6-core-simpletest.patch

2. (Optional)
   Apply the "Show fatal errors in tests" patch to misc/drupal.js if you want
   the reason for test failure to be displayed on the batch API screen. The
   patch can be found at:
   http://drupal.org/files/issues/simpletest_drupal.js_.patch.

3. (Optional)
   Move/Copy the run-tests.sh file into the Drupal scripts folder. The script
   allows the tests to be run from the command line.

4. Go to Administer >> Site building >> Modules (admin/build/modules) and
   enable the SimpleTest module.

5. Go to Administer >> Site building >> Testing (admin/build/testing) to
   begin using the module.

File

INSTALL.txt
View source
  1. AUTHOR
  2. ------
  3. Jimmy Berry ("boombatower", http://drupal.org/user/214218)
  4. REQUIREMENTS
  5. ------------
  6. * PHP 5.2 - both patched core and SimpleTest module
  7. - php-curl
  8. INSTALLATION
  9. ------------
  10. 1. Apply the D6-core-simpletest.patch file to Drupal 6 core. Navigate to your
  11. site root and use the following command (for a unix system):
  12. patch -p0 < path/to/simpletest/D6-core-simpletest.patch
  13. 2. (Optional)
  14. Apply the "Show fatal errors in tests" patch to misc/drupal.js if you want
  15. the reason for test failure to be displayed on the batch API screen. The
  16. patch can be found at:
  17. http://drupal.org/files/issues/simpletest_drupal.js_.patch.
  18. 3. (Optional)
  19. Move/Copy the run-tests.sh file into the Drupal scripts folder. The script
  20. allows the tests to be run from the command line.
  21. 4. Go to Administer >> Site building >> Modules (admin/build/modules) and
  22. enable the SimpleTest module.
  23. 5. Go to Administer >> Site building >> Testing (admin/build/testing) to
  24. begin using the module.