Using test automation

Events happening in the community are now at Drupal community events on www.drupal.org.
Rok Žlender's picture

Here are short instrucions on how to use this module.

  1. Install this moduel. When this module will be used in production it will probably installed on two different servers for testing purposes it can be used even on one drupal installation.
  2. Settings: modify automatic testing server url value, set same password on both servers if you will use only one drupal installation you set the password only once. If you will use two servers you can disable testing functionality on the one that will be used only to submit patches. Also nodeapi hook can be disabeled
  3. On the server some values in test_it.php needs to be changed:
    • $db_user: user name of a user that has permissions to create new database
    • $db_pass: password for this user
    • $install_dir: a directory on the server that will be used to store test instances apache must have permission to write in this directory and it has to be accesible by web
    • $test_server_url: url of previous directory

This is about it. If someone has any questions or sth is not clear enough please let me know.

Comments

I have added settings that

Rok Žlender's picture

I have added settings that were previously set in test_it.php to simpletestauto module settings page now there is no need to set anything in test_it.php

New instructions

Rok Žlender's picture

Above instructions are a bit outdated please go to http://groups.drupal.org/node/1230 for more up to date one

Testing and Quality Assurance

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: