/[drupal]/contributions/modules/simpletestauto/INSTALL.txt
ViewVC logotype

Contents of /contributions/modules/simpletestauto/INSTALL.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Thu Aug 10 17:04:13 2006 UTC (3 years, 3 months ago) by rokZlender
Branch: MAIN
CVS Tags: DRUPAL-4-7--1-0, HEAD
Branch point for: DRUPAL-5, DRUPAL-4-7
Changes since 1.4: +30 -6 lines
File MIME type: text/plain
- instructions are a bit longer
1 Simpletest automation installation instrucions
2
3 Prerequisites:
4 - two installations of drupal 4.7 (can be on same server), one is used
5 to get patches (simpletestauto block or from issue tracker) and then
6 sends them to other installation.The other one is used to receive
7 patches and put them in test queue and then run test each one
8 - a directory on the server that is writable by apache and accessible
9 by apache from the web. It can be secured to only be accessed from
10 localhost.
11 - database user that has permission that are needed by drupal and to
12 create and drop database
13
14
15 First server
16 1. install module (please use the latest version from cvs) and enable it
17 2. on settings page enter the testing server password, choose yes in
18 patch server settings-> is this server used to catch patches, in
19 automatic server url write url of xmlrpc.php file of the other
20 installation
21 3. enable test your patch block
22
23 Second server
24 1. install module (please use the latest version from cvs) and enable it
25 2. on the settings page enter the same testing server password as on
26 the first server, choose yes test server settings->is this server used
27 as testing server
28 3. write in additional modules (image is needed), install dir is
29 directory in which test environment will be created and test server
30 url is url of this directory
31 4. in simpletestauto module directory change .htaccess file so it
32 reflect correct database user settings
33 5. setup cron to run drupal cron.php which is used to delete old tests
34 and run_tests.php in simpletestauto directory ( run_tests.php is used
35 to run untested tests). Sth like 00 * * * * php /path/to/your/drupal/dir/modules/simpletest/run_tests.php

  ViewVC Help
Powered by ViewVC 1.1.2