Changes between Initial Version and Version 1 of CiviCRM HowTo Run Tests


Ignore:
Timestamp:
11/13/13 10:59:39 (11 years ago)
Author:
Richard Bramley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CiviCRM HowTo Run Tests

    v1 v1  
     1= CiviCRM Testing
     2
     3Summary and expansion of the procedure outlined in the CiviCRM page [[http://wiki.civicrm.org/confluence/display/CRM/Setting+up+your+personal+testing+sandbox+HOWTO|Settings up your personal testing sandbox]].
     4
     51. Create DB {{{civicrm_tests_dev}}}
     61. Create the test user with SUPER privileges.
     71. cd /path-to/civicrm
     81. mysql -u user -p -hhostname civicrm_tests_dev < sql/civicrm.mysql
     91. mysql -u user -p -hhostname civicrm_tests_dev < sql/civicrm_generated.mysql
     101. In the file {{{<path to civicrm>/tests/phpunit/CiviTest/civicrm.settings.local.php}}} add the line {{{define('CIVICRM_DSN', 'mysql://db_username:db_password@localhost/civicrm_tests_dev');}}}