Testing Configuration


#1

Hello, I have downloaded the ‘tests’ directory from the svn repository.

I wish to test the PHP library of tests.

It is not obvious to me which file I must edit to provide my database connectivity for these tests to run. Are they designed to run as stand alone’s are should they be included below some configuration file I supply.

Thanks.

Jay


(vipsoft) #2

First install Piwik.

Then modify config.ini.php, adding a [database_tests] section (similar to the [database] section), preferably using a different db name.

Note: use the tests corresponding to your Piwik version. If you’re using trunk, use the tests from trunk. Otherwise, use the tests found under a tagged version.