INFRA-132 - Misc
[civicrm-core.git] / tests / README.txt
CommitLineData
6a488035
TO
1To run the tests you need to configure it as described in the wiki:
2
3http://wiki.civicrm.org/confluence/display/CRM/Testing
4
5The commands to run the tests include:
6
7$ cd SVNROOT/tools
8$ scripts/phpunit -u db_username -pdb_password -h db_host api_v2_ContactTest
9$ scripts/phpunit -u db_username -pdb_password -h db_host WebTest_Contact_AddTest
10$ scripts/phpunit -u db_username -pdb_password -h db_host WebTest_AllTests
11$ scripts/phpunit -u db_username -pdb_password -h db_host api_v3_AllTests
12
13You can also specify database name using "-bdb_name" option. If database name is not specified it will
14use "civicrm_tests_dev" as default db for all the tests.
15
16