[drupal-docs] Re: SoC Documentation

Kuba Zygmunt kuba.zygmunt at gmail.com
Wed Aug 31 12:41:30 UTC 2005


Here I added my INSTALL.TXT file for Drupal Automated Test Suite (simpletest)
-------------- next part --------------
Name: Drupal Automated Test Suite
Shorter: simpletest
License: GPL
---------------------------

How to install?
---------------------------
We don't provide a Simpletest PHP Class, on which this module is based. You will
have to download it by yourself.
To make it work properly follow the steps below:

1. Go to http://www.lastcraft.com/simple_test.php and download Simpletest Class
2. Unpack this in <drupal_main_dir>/modules/simpletest
( you should have a structure similar to this:
 <drupal main dir>
  +- database
  +- misc
  *- modules
   *- simpletest (* here is our simpletest class *)
    +- docs
    +- extensions
    +- test
  +- scripts
  +- sites
  +- themes

3. Copy Drupal Simpletest Module's files to your module directory
After this you should have 6 files in module's directory and tests in
modules/tests

*- modules
 +- tests
 drupal_reporter.php
 ...
 simpletest.module

4. Load simpletest.module in admin section.

To see articles about writing tests see http://drupal.org/simpletest


More information about the drupal-docs mailing list