Unit Testing & Yiiboilerplate

Have just migrated a project across to YiiBoilerplate, and can’t seem to get unit testing working.

Has anyone managed to get it working? It doesn’t seem to support it out of the box.

Good news - I got it working :)

You need to use frontend (or backend) as the config file in phpunit bootstrap.php.

Sorry, but i don’t understand the solution! :S

I have this response:

Fatal error: Uncaught exception ‘CException’ with message 'Application base path “backend” is not a valid directory.

Can you post your backend/test.php up?