Currently Browsing

Posts Tagged ‘ developing ’

Setting up Kohana 3.2 unittest module

From 3.0 version Kohana has an official unittest module. There’s a great manual from Lysender how to configure it. But some things from this manual didn’t work for me so here’s the way how I’ve configured unittest module.

PHPUnit

First, you need PHPUnit 3.5 installed. It’s important. Not 3.6 (or even 3.7). If you’ve already PHPUnit 3.6 installed here’s a manual how to downgrade (for MacOSX, but for other systems it works in similar way).

Share