Skip to content
Snippets Groups Projects
Forked from Development / CiviCRM Core
62595 commits behind the upstream repository.
Kurund Jalmi's avatar
Kurund Jalmi authored
adjust test for grammar improvement
5a8ac2d1
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.