...
- Do a normal install on the machine you wish to test on.
Create a
phpunit.xml
file in your config directory. It should contain the following settings:Code Block language xml title phpunit.xml <?xml version="1.0" encoding="UTF-8"?> <rogo> <db_database>phpunit_database_schema_name</db_database> <db_user>username</db_user> <db_password>password</db_password> <data>path_to_user_data_directory</data> </rogo>
- Run the following script from the command line: testing/unittest/cli/init.php
...