Skip to content
Snippets Groups Projects
Forked from Development / CiviCRM Core
62769 commits behind the upstream repository.
user avatar
Yashodha Chaku authored
-- CRM-13889 APIs for Dashboard, DashboardContact and new hook hook_civicrm_dashboard_defaults
21d51f5c
History
Name Last commit Last update
..
bin
extensions
phpunit
qunit
templates
README.txt
To run the tests you need to configure it as described in the wiki:

http://wiki.civicrm.org/confluence/display/CRM/Testing

The commands to run the tests include:

$ cd SVNROOT/tools
$ scripts/phpunit -u db_username -pdb_password -h db_host api_v2_ContactTest
$ scripts/phpunit -u db_username -pdb_password -h db_host WebTest_Contact_AddTest
$ scripts/phpunit -u db_username -pdb_password -h db_host WebTest_AllTests
$ scripts/phpunit -u db_username -pdb_password -h db_host api_v3_AllTests

You can also specify database name using "-bdb_name" option. If database name is not specified it will
use "civicrm_tests_dev" as default db for all the tests.