Version 1 (modified by 11 years ago) ( diff ) | ,
---|
CiviCRM Testing
Summary and expansion of the procedure outlined in the CiviCRM page Settings up your personal testing sandbox.
- Create DB
civicrm_tests_dev
- Create the test user with SUPER privileges.
- cd /path-to/civicrm
- mysql -u user -p -hhostname civicrm_tests_dev < sql/civicrm.mysql
- mysql -u user -p -hhostname civicrm_tests_dev < sql/civicrm_generated.mysql
- In the file
<path to civicrm>/tests/phpunit/CiviTest/civicrm.settings.local.php
add the linedefine('CIVICRM_DSN', 'mysql://db_username:db_password@localhost/civicrm_tests_dev');
Note:
See TracWiki
for help on using the wiki.