Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.6
-
Fix Version/s: 3.3.7
-
Component/s: Test suite
-
Labels:None
Description
In webtest sometimes we need db records for assertions/ to build parameters, by default test suite connect to the 'civicrm_test_dev', now we can pass database name through command line as
-b[database_name]
eg:
tools$ scripts/phpunit -u [user_name] -p[pass] -h [host] -b[db_name] WebTest_Mailing_MailingTest