Skip to content
Snippets Groups Projects
Forked from Development / CiviCRM Core
66970 commits behind the upstream repository.
user avatar
Ravish Nair authored
f4c17a3c
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.