Running unit tests

To run unit tests consider the following:

1. Test database structure must completely correspond to development database structure. Making a database copy is the simplest solution;

2. Check database connection for test mode (ORM management interface -> Database connections -> test);

3. ORM object settings in test and development mode must be fully identical. To ensure that, copy contents of directory www/system/config/objects to test/objects.

Test run with the command: cd /[path]/[to]/[project]/test/unit && phpunit

Existing tests may be downloaded from proper version tag.